Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Outlook
    • Planner
    • Power Apps
    • SharePoint
    • Teams
  • Triggers
  • Ready to use solutions
    • Approval Process Template
    • Task Delegation App
    • The Ultimate Power Automate expressions cheat sheet
    • Power Automate HTTP requests to SharePoint cheat sheet
    • Power Automate HTTP requests to Graph API cheat sheet
  • ABOUT ME
  • Get help with your flow
  • POWER PLATFORM SERVICES
Menu

Disable connection confirmation when launching PowerApps

Posted on May 12, 2024May 12, 2024 by Tom

“The connection confirmation is confusing to many users when launching the PowerApps app, is there some way to disable it?”


With the way PowerApps work, every user must confirm it can use his connections on the background. Everything he does in the PowerApp will be done under his account and he should be aware of that.

PowerApps connection confirmation disable

On the other side, that’s kind of to be expected. There probably aren’t many corporate applications that are used anonymously. The confirmation screen is also something that can be quite confusing for many users. “What does the application need? Why? Should I allow it?”

Disable the screen with PowerShell

As in the previous article on co-owner sharing of PowerApps in Solutions, it’s again something not doable using the PowerPlatform interface. However, it’s doable using PowerShell!

Again, start ‘Windows PowerShell ISE’ as an administrator on your Windows machine.

Firstly, install the two PowerApps modules.

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

To disable the popup you’ll need two id’s – the environment id and application id. Both can be taken from the app details page. On the example below, red is the environment id and blue is the app id.

Store them both in a variable in the script, e.g.

$appId = "5f9d64ce-3158-4fad-824d-31266acb9cd0"
$envId = "Default-c3adda97-555b-44f6-9fbb-ecf0395f334b"

All that’s left is adding the final command and disabling the popup.

Set-AdminPowerAppApisToBypassConsent -EnvironmentName $envId -AppName $appId -ApiVersion 2017-05-01
PowerApps connection confirmation disable

Once you run the script it’ll ask you to login to the environment, and if you have sufficient permissions (I believe it’s the environment admin), it’ll disable the popup. And if it doesn’t happen right away, try to republish the app.

Summary

When sharing a PowerApps app to new users, the connection confirmation popup can be quite confusing, hence it might be better to disable it. While it’s not doable directly in the app, there’s again a workaround – a PowerShell script. A few lines of code that’ll make the app rollout and acceptance much smoother.


πŸš€ Master Power Automate

Join 2,000+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

2 thoughts on “Disable connection confirmation when launching PowerApps”

  1. Nic says:
    May 13, 2024 at 12:50 pm

    In our organization I found that if this connection confirmation was disabled and a user was NOT signed into one of the connections for whatever reason, this caused issues with them interacting with the app successfully. So even though it’s confusing to some, the longer we use Power Apps, the more they are getting used to seeing this when they first load an app.

    Reply
  2. Izz says:
    September 24, 2024 at 4:11 pm

    so does this cause issues when new connections are added to the app, or when user has changed password recently? that usually triggers another prompt.

    Reply

Leave a Reply Cancel reply

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

πŸš€ Master Power Automate

Join 2,000+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

Working on an Approval process?

Use the Approval Process Template and the Task Delegation App to skip the hard part and deploy a fully functional approval solution on a SharePoint list in minutes! And then the next one, and the next one...

Approval Template Preview ✨ Learn more ✨

Turn ideas into flows with ease!

Grab the complete Power Automate Cheat Sheet Bundleβ€”everything you need to master expressions, SharePoint HTTP calls, and Graph API in Power Automate.

Cheat Sheet Bundle Preview ✨ Get the Cheat Sheets

Didn't find what you were looking for?
Need to adjust a solution to fit your needs?
Or would you just like to get an assistance from somebody with thousands of hours of experience with Power Automate?

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2025 Let's POWER Automate | Theme by SuperbThemes