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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Restore Power Automate...
Power Automate
Unanswered

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

(1) ShareShare
ReportReport
Posted on 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}

 

 

Categories:
I have the same question (0)
  • shaselb Profile Picture
    4 on at

    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

     

     

  • PetrosF-MSFT Profile Picture
    Microsoft Employee on at

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 411

#3
David_MA Profile Picture

David_MA 337 Super User 2026 Season 1

Last 30 days Overall leaderboard