Installing and Using Power Apps in PowerShell for Admins and Creators

Leave a comment

PowerShell can be used to manage Power Apps. Let’s look at how to use this, and some of the functions available for both Administrators and Creators of Power Apps.

To install, open a PowerShell Command Prompt as Administrator and run the command:

Install-Module -Name Microsoft.PowerApps.Administration.PowerShell
Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber

Press Y or A to install:

Note you can visit the Power Shell Gallery at

To see the many functions available:

Let’s get a list of all the Power Apps environments in PowerShell:


We are prompted to sign in:

Once signed in, we get our environment details:

Let’s get environment locations:


Let’s enable and disable a Power Automate Flow using PowerShell. Below the flow is Enabled/On.

We can get the flow details using:

Get-Flow “Get updates from the Flow blog”

We can disable the flow by sending through the Id:

Disable-Flow “e9b8bff6-4b03-4449-ae19-199b54fab1df”

The flow is now disabled:

And also enable using Enable-Flow “e9b8bff6-4b03-4449-ae19-199b54fab1df”.

To get help, use:

Get-Help Disable-Flow 

And to get examples:

And detailed:

And full:



Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube


Leave a Reply

Your email address will not be published. Required fields are marked *