web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : j6xaJ0k2UGDAhBUJt6Pp2O
Power Apps - Building Power Apps
Answered

Deleted Flow Associated with App Causing Runtime Error

Like (0) ShareShare
ReportReport
Posted on 21 Feb 2024 15:17:01 by 299

Good Morning,

I have a Runtime error on one of my apps that is occurring due to a deleted flow that was associated with the app. The Runtime error is preventing me from exporting the app as a .ZIP file. Is there any way to remove, disassociate the deleted flow from the app? I've tried to recover the flow but that was not successful. Thank you in advance for any suggestions, ideas, etc.

Patti

associatedFlowDeleted1.png associatedFlowDeleted2.png

Categories:
  • PVLove Profile Picture
    299 on 22 Feb 2024 at 16:32:42
    Re: Deleted Flow Associated with App Causing Runtime Error

    @TheRobRush ,

    You're a genius!  That actually worked for one of the apps and I was able to export it, I can use that one for a template.  I had multiple flows that varied from one to the other and deleted all of them, so a couple apps still have a runtime error.   Thanks again!

    Patti

  • PVLove Profile Picture
    299 on 22 Feb 2024 at 13:55:14
    Re: Deleted Flow Associated with App Causing Runtime Error

    Morning @TheRobRush ,

    It's worth a try.  I'll post the results as soon as I can.

    Thanks!

    Patti

  • Verified answer
    TheRobRush Profile Picture
    11,121 Moderator on 21 Feb 2024 at 19:33:14
    Re: Deleted Flow Associated with App Causing Runtime Error

    Have you tried maybe creating a flow with same name, importing it, then exporting the app and see if you can fool it?

  • PVLove Profile Picture
    299 on 21 Feb 2024 at 19:20:12
    Re: Deleted Flow Associated with App Causing Runtime Error

    @TheRobRush ,

    Thanks for your help/suggestions.  Apparently, after 20/21 days a deleted flow cannot be recovered.  I deleted the flow in early January, well past the 20 days.  I may have to rebuild the canvas app and not associate any flows with that app.

    Thanks again,

    Patti

  • TheRobRush Profile Picture
    11,121 Moderator on 21 Feb 2024 at 18:04:50
    Re: Deleted Flow Associated with App Causing Runtime Error

    If they have not yet, I would attempt the methods outlined here

     

    If you have already done first method, have them hit it in PowerShell

  • PVLove Profile Picture
    299 on 21 Feb 2024 at 18:01:25
    Re: Deleted Flow Associated with App Causing Runtime Error

    @TheRobRush ,

    Thank you for the quick response!  My admin ran my flow to restore deleted flows and he received the same result; the flow didn't return any deleted flows.  Is there another method we can use to either restore the flow or remove the Runtime error from my canvas app?

    Thanks!

    Patti

  • TheRobRush Profile Picture
    11,121 Moderator on 21 Feb 2024 at 15:30:36
    Re: Deleted Flow Associated with App Causing Runtime Error

    If that does not work, you need to contact your system admin team. Restoring deleted flows requires Azure Rights that you likely don't have if you are not part of that team.

  • mmbr1606 Profile Picture
    13,290 Super User 2025 Season 2 on 21 Feb 2024 at 15:23:19
    Re: Deleted Flow Associated with App Causing Runtime Error

    hey @PVLove 

     

    maybe this post helps

     

    Solved: Remove Unwanted Flows and Data Sources - Power Platform Community (microsoft.com)

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete