Skip to content

New command: m365 pp environment list #3061

@appieschot

Description

@appieschot

Usage

m365 pp environment list

Description

Retrieve PowerApps environments

Options

Option Description
--asAdmin Run the command as admin and retrieve all environments. Lists only environments you have explicitly are assigned permissions to by default.

Additional Info

You can find inspiration in flow environment list and pa environment list but this command uses the new endpoint available (#2917 will implement the bapEndpoint)

Call https://{bapEndpoint}/providers/Microsoft.BusinessAppPlatform/scopes/admin/environments?api-version={apiVersion} for all admin environments and https://{bapEndpoint}/providers/Microsoft.BusinessAppPlatform/environments?api-version={apiVersion}

Show name and displayName as defaultProperties when outputing text or csv

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions