Skip to content

New command: m365 pp environment list #3061

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions