Skip to content

New command: m365 pp card remove #3781

Description

@appieschot

Usage

m365 pp card remove

Description

Removes the specified Power Platform card.

Options

Option Description
-i, --id [id] The ID of the card. Specify either id or name but not both.
-n, --name [name] The name of the card. Specify either id or name but not both.
-e, --environment <environment> The name of the environment.
--asAdmin Run the command as admin and remove the card for environments you do not have explicitly assigned permissions to.
--confirm Don't prompt for confirmation

Examples

Removes card with the id d87a7535-dd31-4437-bfe1-95340acd55c5 named Default-d87a7535-dd31-4437-bfe1-95340acd55c5. without confirmation prompt

m365 pp card remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id d87a7535-dd31-4437-bfe1-95340acd55c5 --confirm

Removes card with the id d87a7535-dd31-4437-bfe1-95340acd55c5 named Default-d87a7535-dd31-4437-bfe1-95340acd55c5 as administrator with interactive confirmation prompt

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

Additional Info

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

Can be removed using following snippet URL
https://DYNAMICSULR/api/data/v9.1/cards([CARDID]) and sending a DELETE request.

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