Skip to content

New command: flow owner list #4558

@Cyhexy

Description

@Cyhexy

Usage

m365 flow owner list [options]

Description

Lists all owners of a Power Automate flow

Options

Option Description
-e, --environmentName <environmentName> The name of the environment.
-f, --flowName <flowName> The name of the Power Automate flow.
--asAdmin Run the command as admin.

Examples

Gets the owners by the name of the Power Automate flow within a specified environment

m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72

Gets the owners by the name of the Power Automate flow within a specified environment with admin permissions

m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72 --asAdmin

Default properties

  • roleName
  • id (ID of the user or group)
  • type

Additional Info

This command is missing at the moment compared to the PowerShell admin commands for Power Automate. Without this command you can't get an overview of all the owners and you can only get the creator of a Power Automate flow.

PowerShell command: https://learn.microsoft.com/en-us/powershell/module/microsoft.powerapps.administration.powershell/get-adminflowownerrole

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions