Restore deleted flows with PowerShell
Prerequisites
- Install PowerShell cmdlets for PowerApps.
- You must be an environment admin.
- There must be an execution policy set on your device to run PowerShell scripts.
Restore deleted flow
- Add-PowerAppsAccount
- Get-AdminFlow -EnvironmentName 41a90621-d489-4c6f-9172-81183bd7db6c -IncludeDeleted $true
- Get-AdminFlow Testing -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239
- Restore-AdminFlow -EnvironmentName Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877 -FlowName 4d1f7648-ad60-4871-91cb-b77d7ef3c239
Read the full document on Microsoft Docs