If you or someone else accidentally deletes a flow that isn’t part of a solution, you can use PowerShell to restore it within 28 days of deletion.
Prerequisites
Note
- After you restore a flow, it defaults to the disabled state. You must manually enable the flow, per your requirements.
- The below steps in this article apply only to non-solution flows. If you deleted a flow that was part of a solution, you need to create a support ticket with Microsoft for assistance.
- Flows that have been deleted more than 28 days ago can’t be recovered, with neither PowerShell script nor with Microsoft support.
Open Windows PowerShell
I hope this was helpful!