When you restore a flow, it will be automatically disabled. To make it operational again, you must enable it.
[!WARNING]
This command is based on an API that is currently in preview and is subject to change once the API reaches general availability.
(instead of note, use info admonition)
[!NOTE]
To use this command, you must be a Global or Power Platform administrator.
API request
POST https://api.flow.microsoft.com/providers/Microsoft.ProcessSimple/scopes/admin/environments/<Environment name>/flows/<Flow name>/restore?api-version=2016-11-01
Usage
m365 flow recyclebinitem restore [options]
Description
Restores a soft-deleted Power Automate flow
Options
-n, --flowName <flowName>
-e, --environmentName <environmentName>
Examples
Restores a soft-deleted flow within a specific environment
Default properties
No response
Additional Info
Docs
Remarks
When you restore a flow, it will be automatically disabled. To make it operational again, you must enable it.
(instead of note, use info admonition)
API request