Skip to content

pp environment list

Lists Microsoft Power Platform environments

Usage

m365 pp environment list [options]

Options

-a, --asAdmin [teamId] Run the command as admin and retrieve all environments. Lists only environments you have explicitly are assigned permissions to by default.

-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Remarks

Attention

This command is based on an API that is currently in preview and is subject to change once the API reached general availability. Register CLI for Microsoft 365 or Azure AD application as a management application for the Power Platform using m365 pp managementapp add [options]

Examples

List Microsoft Power Platform environments

m365 pp environment list

List all Microsoft Power Platform environments

m365 pp environment list --asAdmin