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 / Unable to restore an a...
Power Automate
Suggested Answer

Unable to restore an accidentally deleted cloud flow — Restore Deleted Flows as Admin not working

(1) ShareShare
ReportReport
Posted on by
Hi all,
I accidentally deleted a cloud flow [on/around DATE] and I'm trying to restore it. It's well within the 21-day recovery window, and I do not want to rebuild it from scratch.
What I've tried:
Categories:
I have the same question (0)
  • chiaraalina Profile Picture
    2,425 Super User 2026 Season 1 on at
     
    How did you try? PowerShell or by  Power Automate Management Connector? Did you get an error message?
     
     
  • Suggested answer
    RaghavMishra Profile Picture
    261 on at

    Hi! 👋 Good news — as long as it was deleted within the last 21 days, your flow is fully recoverable. Microsoft Learn documents two methods:


    Method 1: Power Automate Management Connector (easiest — no code needed)

    Per Restore deleted flows in Power Automate, here is the exact process:

    1. Create a new manual (button) flow
    2. Add the List Flows as Admin action (Power Automate Management connector)
      • Set Environment → the environment the deleted flow lived in
      • Set Include Soft-Deleted FlowsYes
    3. Run the flow and expand the raw OUTPUTS to find your deleted flow — note the value in the name field (a GUID)
    4. Add a second step: Restore Deleted Flows as Admin
      • Paste the name GUID from step 3 into the Flow field
    5. Run the flow — it restores the deleted flow in a disabled state
    6. Navigate to your flows and manually re-enable it

    ⚠️ Requires environment admin permissions.


    Method 2: PowerShell

    If you prefer PowerShell:

    # Install/update cmdlets
    Install-Module -Name Microsoft.PowerApps.Administration.PowerShell -Force
    
    # Sign in
    Add-PowerAppsAccount
    
    # List soft-deleted flows
    Get-AdminFlow -EnvironmentName <YourEnvironmentName> -IncludeDeleted $true
    
    # Restore the flow (use the GUID from the list above)
    Restore-AdminFlow -EnvironmentName <YourEnvironmentName> -FlowName <FlowGUID>

    Your environment name is in the URL when you open any flow: https://make.powerautomate.com/Environments/<EnvironmentName>/flows


    ⚠️ Important reminders

    • Flows deleted more than 21 days ago cannot be recovered by any method — not even Microsoft Support
    • Restored flows are always in a disabled state — manually enable after restore
    • Both methods require environment admin permissions

    Found this helpful? Please mark ✅ "Does this answer your question?" so others searching for the same issue can find it quickly. A 👍 on "Was this reply helpful?" or a ♥ Like is also much appreciated!

    Raghav MishraLinkedIn | PowerAI Labs

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

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard