Skip to content

New command: flow recyclebinitem restore #6140

@milanholemans

Description

@milanholemans

Usage

m365 flow recyclebinitem restore [options]

Description

Restores a soft-deleted Power Automate flow

Options

Option Description
-n, --flowName <flowName> The name of the Power Automate flow.
-e, --environmentName <environmentName> The name of the environment where the flow is located.

Examples

Restores a soft-deleted flow within a specific environment

m365 flow recyclebinitem restore --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d

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.


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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions