Skip to content

New command: m365 pp card list #3767

@appieschot

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions