Home > Back-end >  How to list all Power Platform solutions using PowerShell or Microsoft Graph API?
How to list all Power Platform solutions using PowerShell or Microsoft Graph API?

Time:03-22

I'm looking to for way to get an entire Power Plateform solution. As you know, solutions can contains, Power Apps application, Power Automate flows, environment variables and so on.

I already know that Power Apps applications (canvas apps) can be retreived by using this command line:

Get-AdminPowerApp

And Flows can be retreived by using this one:

Get-AdminFlow -EnvironmentName "env"

We can found command line to get environements, connections, connectors, etc.

Is there a command line that look like the following one ?

Get-AdminPowerAppsSolution -Environment "env" 

Thank you all.

CodePudding user response:

Finding all apps across all environments to which you have admin access can be done with the following command:

Get-AdminPowerApp 

More information about this command can be found on Microsoft docs here: https://docs.microsoft.com/en-us/powershell/module/microsoft.powerapps.administration.powershell/get-adminpowerapp?view=pa-ps-latest

CodePudding user response:

You can get PowerApps Solutions by installing the PowerApps CLI.

Look at the Solution export command.

Example:

pac solution export --path c:\Users\Documents\Solution.zip --name SampleComponentSolution --managed true --targetversion 10.0.03 --include general
  • Related