Power Apps

Disable The Power Apps Permissions Pop-Up (Bypass Consent Form)

Disable The Power Apps Permissions Pop-Up (Bypass Consent Form) Posted by - Matthew Devaney on - June 18, 2023 63 Comments When a user opens the Power Apps c...

Matthew Devaney
Published
Reading time
4 min read

Before you start

Is this guide for you?

Best entry point
Power Apps
Time investment
4 min read

Imported reference from Matthew Devaney's blog for learning purposes. Original: https://www.matthewdevaney.com/disable-the-power-apps-permissions-pop-up-bypass-consent-form/. Author: Matthew Devaney.

Disable The Power Apps Permissions Pop-Up (Bypass Consent Form) Posted by - Matthew Devaney on - June 18, 2023 63 Comments

When a user opens the Power Apps canvas app for the first-time they see a message “Almost there… the app needs your permission to use the following. Please allow the permissions to proceed.” This is potentially confusing to the user because they are not sure what they are approving. In this article, I will show you how to disable the Power Apps permissions pop-up and make it stop appearing for users. Table of Contents

Introduction: The Power Apps Permissions Form

Write A PowerShell Cmdlet To Bypass The Power Apps Permissions Form Get The Power Platform Environment ID Obtain The Canvas App Unique ID

Open Windows PowerShell In Administrator Mode

“>Optional Step: Install The Power Apps Administration Power Shell Module

Enter The PowerShell Cmdlet To Bypass Consent

Test The Power Apps Canvas App To Ensure The Permissions Form Is Turned Off

Introduction: The Power Apps Permissions Form

A user opening a Power Apps canvas app sees this pop-up known as the Power Apps consent form. It asks the user permission to create a new connection to the online services used in the app. We want to prevent this form from showing.

Write A PowerShell Cmdlet To Bypass The Power Apps Permissons Form

We can use a PowerShell cmdlet to make the Power Apps consent form stop appearing . To do this, we will need to obtain the environment name GUID, the app name GUID and then use them in the PowerShell cmdlet below. Set-AdminPowerAppApisToBypassConsent -EnvironmentName [Guid] -AppName [Guid] Code language: CSS ( css ) Get The Power Platform Environment ID

To find the Power Platform environment ID for app the app open make.powerapps.com and navigate the environment where the app is located. Then go to the Settings menu and select Developer resources .

Copy the Environment ID from the Developer resources menu…

…and paste it into Windows notepad for safe-keeping until we need it.

Default -f1b8b509 -50 a4 -4 a5c -8e48 -bf3d3e7c10ed Code language: PHP ( php ) Obtain The Canvas App Unique ID

Next, we will get the canvas app unique ID. Click the three dots beside the canvas app and then select Details . Copy the App ID from the Details menu…

…and paste it into notepad alongside the Environment ID. 9a6d22d6-79a2-4d32-8abd-747a1d8ebcb0

Open Windows PowerShell In Administrator Mode

Go to the Windows start menu and search for Windows Powershell. Run Windows PowerShell as an administrator. There will likely be multiple versions of PowerShell installed on your machine. Ensure you select the proper one.

Optional Step: Install The Power Apps Administration Power Shell Module

If you have never used a Power Apps Administration PowerShell cmdlet before you will need to install the module.

Type these commands into the PowerShell console. Enter a username and password when the Microsoft 365 login prompt appears. Install-Module -Name Microsoft .PowerApps .Administration .PowerShell Install-Module -Name Microsoft .PowerApps .PowerShell -AllowClobber Code language: CSS ( css )

Enter The PowerShell Cmdlet To Bypass Consent

Once the Power Apps administration library is installed we can input the cmdlet to bypass the consent form.

Write this PowerShell command in the console. Supply the environment name and app name GUIDs we gathered earlier in the tutorial>

Set -AdminPowerAppApisToBypassConsent -EnvironmentName Default-f1b8b509 -50 a4 -4 a5c -8e48 -bf3d3e7c10ed -AppName 9 a6d22d6 -79 a2 -4 d32 -8 abd -747 a1d8ebcb0 Code language: JavaScript ( javascript )

Run the command by pressing enter. The PowerShell console should look like this if the command executed successfully.

Test The Power Apps Canvas App To Ensure The Permissions Form Is Turned Off

To test that the permissions form is no longer appearing to end-users, ask a user who is seeing the prompt to play the app.

If the permissions form does not appear then we can confirm that the user is no longer required to give consent. Did You Enjoy This Article? 😺

Subscribe to get new Copilot Studio articles sent to your inbox each week for FREE Enter your email address Sign Me Up Questions?

If you have any questions or feedback about Disable The Power Apps Permissions Pop-Up (Bypass Consent Form) please leave a message in the comments section below. You can post using your email address and are not required to create an account to join the discussion. Matthew Devaney M365 Copilot Power Apps

How To Create Copilot Custom UI Widgets In Power Apps

Share this

Tagged

Power Apps

Have a Microsoft 365 topic idea?

Share article suggestions, community session ideas, corrections, or real-world scenarios for future nxtM365 learning notes.

Suggest a topic

Keep learning Microsoft 365

Explore more practical guides for SharePoint, Power Platform, Copilot Studio, migration, automation, governance, and security.

Continue learning

Next action

What to do next

Browse all tutorials →