Skip to content

New command: m365 pp card list #3767

Description

@appieschot

Usage

m365 pp card list

Description

Lists Microsoft Power Platform cards in the specified Power Platform environment.

Options

Option Description
-e, --environment <environment> The name of the environment for which to retrieve cards.
--asAdmin Run the command as admin and retrieve cards for environments you do not have explicitly assigned permissions to.

Examples

List cards in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5.

m365 pp card list --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 

List publishers in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5 as admin.

m365 pp card list --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin

Additional Info

Depends on #3684 for the PowerPlatform util and Dynamic Permissions.

Can be selected using following snippet:
https://DYNAMICSULR/api/data/v9.1/cards?$expand=owninguser($select=azureactivedirectoryobjectid,fullname)

Since it is a list command, only the name, cardid, publishdate should be shown in text output

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