flow owner list
Lists all owners of a Power Automate flow
Usage
m365 flow owner list [options]
Options
-e, --environmentName <environmentName>The name of the environment.
--flowName <flowName>The name of the Power Automate flow.
--asAdminRun the command as admin.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
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 privileges.
m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72 --asAdmin
Response
- JSON
- Text
- CSV
- Markdown
[
{
"name": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
"id": "/providers/Microsoft.ProcessSimple/environments/Default-c5a5d746-3520-453f-8a69-780f8e44917e/flows/72f2be4a-78c1-4220-a048-dbf557296a72/permissions/fe36f75e-c103-410b-a18a-2bf6df06ac3a",
"type": "/providers/Microsoft.ProcessSimple/environments/flows/permissions",
"properties": {
"roleName": "Owner",
"permissionType": "Principal",
"principal": {
"id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
"type": "User"
}
}
}
]
roleName id type
-------- ------------------------------------ ----
Owner fe36f75e-c103-410b-a18a-2bf6df06ac3a User
roleName,id,type
Owner,fe36f75e-c103-410b-a18a-2bf6df06ac3a,User
# flow owner list --environmentName "Default-c5a5d746-3520-453f-8a69-780f8e44917e" --flowName "72f2be4a-78c1-4220-a048-dbf557296a72"
Date: 25/02/2023
## fe36f75e-c103-410b-a18a-2bf6df06ac3a (/providers/Microsoft.ProcessSimple/environments/Default-c5a5d746-3520-453f-8a69-780f8e44917e/flows/72f2be4a-78c1-4220-a048-dbf557296a72/permissions/fe36f75e-c103-410b-a18a-2bf6df06ac3a)
Property | Value
---------|-------
name | fe36f75e-c103-410b-a18a-2bf6df06ac3a
id | /providers/Microsoft.ProcessSimple/environments/Default-c5a5d746-3520-453f-8a69-780f8e44917e/flows/72f2be4a-78c1-4220-a048-dbf557296a72/permissions/fe36f75e-c103-410b-a18a-2bf6df06ac3a
type | /providers/Microsoft.ProcessSimple/environments/flows/permissions