Skip to main content
Community site session details

Community site session details

Session Id : sn+84zZPB/8bP6CLGhQ2ZO
Power Automate - Building Flows
Unanswered

Restore Power Automate Flow not possible in cause of an existing workflow

Like (1) ShareShare
ReportReport
Posted on 14 Jun 2024 13:32:55 by 4

I have accidentally deleted a flow.
I followed the instructions on https://learn.microsoft.com/de-de/power-automate/how-tos-restore-deleted-flow?wt.mc_id=ppac_inproducthelp_ghp an identified my deleted flow.
His name (id) is "9e6f08cc-xxxx-9f99-3974-0276418dxxxx".
When i try to restore the flow with my Admin Account via Power Automate (Restore Deleted Flow as Admin (V2)" or with the PowerShell Command...

 

restore-AdminFlow -EnvironmentName Default-b68exxxx-11a5-4c5c-xxxx-f8a08f8exxxx -FlowName 9e6f08cc-xxxx-9f99-3974-0276418dxxxx

 

...i received an error, that die associated workflow already exists. (look at the error report, this is from PowerShell.) I don't know what this workflowEntityId (this is the attribute name from the metadata (60bf3ec8-0b06-ef11-9f89-002248883fcf) means. I tried to turn off all the flows within the solution, but it still doesn't works. Please help before my Flow will be permanently deleted.

Thx

Sascha

 

PowerShell Output:

Code : 409
Description : Conflict
Headers : {Strict-Transport-Security, x-ms-islandgateway, x-ms-request-id, x-ms-correlation-request-id...}
Error : @{code=EntityFlowExistsCannotRestore; message=Cannot restore flow '9e6f08cc-xxxx-9f99-3974-0276418dxxxx' because its associated
workflow '60bf3ec8-0b06-ef11-9f89-002248883fcf' already exists. Please turn the flow off and on from the solution explorer to remove
any inconsistent state.}
Errors :
Internal : @{StatusCode=409; StatusDescription=Conflict; Headers=Strict-Transport-Security: max-age=31536000; includeSubDomains
x-ms-islandgateway: ga00000LB
x-ms-request-id: westeurope:27cac7d7-417a-44a0-951b-ef0ed3b6d824
x-ms-correlation-request-id: 27cac7d7-417a-44a0-951b-ef0ed3b6d824
x-ms-flow-mobile-ios-version: 3.0.421
x-ms-flow-routing-request-id: WESTEUROPE:20240614T131103Z:27cac7d7-417a-44a0-951b-ef0ed3b6d824
Server-Timing: x-ms-igw-upstream-headers;dur=378.5,x-ms-igw-req-overhead;dur=0.9
X-Content-Type-Options: nosniff
x-ms-service-request-id: 2f6e00f3-5947-4efc-b67a-a046639838ee
x-ms-correlation-id: 24255fa9-7515-435d-8533-da3f1960b532
x-ms-activity-vector: 00
Content-Length: 301
Cache-Control: no-cache, no-store
Content-Type: application/json; charset=utf-8
Date: Fri, 14 Jun 2024 13:11:03 GMT

; Error=; Message=Cannot restore flow '9e6f08cc-xxxx-9f99-3974-0276418dxxxx' because its associated workflow
'60bf3ec8-0b06-ef11-9f89-002248883fcf' already exists. Please turn the flow off and on from the solution explorer to remove any
inconsistent state.; Internal=System.Net.HttpWebResponse}

 

 

  • PetrosF-MSFT Profile Picture
    on 26 Aug 2024 at 12:55:36
    Restore Power Automate Flow not possible in cause of an existing workflow
  • shaselb Profile Picture
    4 on 15 Jun 2024 at 08:05:57
    Re: Restore Power Automate Flow not possible in cause of an existing workflow

    That was realy strange...

    I tried to restore the flow several times, the error allready appears. Within the powershell, the file still mentioned as deleted. Then I loged on with the admin account on the web site and the file is allready restored?!? I changed the ownership and everything is fine for my user.

    I don't know what happens. I will reproduce this isse (with a test flow 😉 ).

     

    After a restoring the flow i realized, that the workflowEntityId where mentioned in the "Run a child flow" Task of another flow. The deleted flow was a child flow. The workflowEntityId of this flows was linked within the parent flow.

     

    Sascha

     

     

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete