pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
929 stars 326 forks source link

New command: m365 pp dataflow get #6344

Open appieschot opened 2 months ago

appieschot commented 2 months ago

Usage

m365 pp dataflow get

Description

Gets information about the specified data flow

Options

Option Description
-i, --id <id> The id of the dataflow to retrieve details for.
-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.

Examples

Retrieve dataflow in the given Power Platform environment.

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

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 ${dynamicsApiUrl}/api/data/v9.2/msdyn_dataflows(dataflowid)

Adam-it commented 5 days ago

LGTM 👍 Lets open it up 🚢🚀