Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command: m365 pp dataflow remove #6352

Open
appieschot opened this issue Sep 16, 2024 · 0 comments
Open

New command: m365 pp dataflow remove #6352

appieschot opened this issue Sep 16, 2024 · 0 comments
Labels
needs peer review Needs second pair of eyes to review the spec or PR new feature

Comments

@appieschot
Copy link
Member

Usage

m365 pp dataflow remove

Description

Removes the specified data flow

Options

Option Description
-i, --id <id> The id of the dataflow to remove.
-e, --environmentName <environmentName> The name of the environment where the dataflows are located.
--asAdmin Run the command as admin and retrieve dataflows for environments you do not have explicitly assigned permissions to.
-f, --force Don't prompt for confirmation

Examples

Removes dataflow in the given Power Platform environment.

m365 pp dataflow remove --id d87a7535-dd31-4437-bfe1-95340acd55c5  --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 

Removes dataflow in the given Power Platform environment without confirmation prompt.

m365 pp dataflow remove --id d87a7535-dd31-4437-bfe1-95340acd55c5  --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force

Default properties

N/a

Additional Info

Checkout: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/msdyn_dataflow?view=dataverse-latest

In this case the API call would be a DELETE ${dynamicsApiUrl}/api/data/v9.2/msdyn_dataflows(dataflowid)

@milanholemans milanholemans added needs peer review Needs second pair of eyes to review the spec or PR and removed help wanted labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs peer review Needs second pair of eyes to review the spec or PR new feature
Projects
None yet
Development

No branches or pull requests

2 participants