web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps keeps promti...
Power Apps
Unanswered

PowerApps keeps promting me for allowing dataconnetion to SharePoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone. Yesterday I started building a new app with SharePoint as a dataconnection, like I always do. After publishing the users are getting promted for allowing the data connection to SharePoint. They say yes, and everything is okay....... until the next time they open the app. Now they are getting promted for the datacaonnection to SharePoint everytime they open the app, and just not the first time. Older apps I have build does not have this behaviour, they work like intended. It is a standard SharePoint connection, and I have tried to create a new dataconnection til SharePoint. No matter what, the users are still promted for allowing the datacaonnection to SharePoint. Does anyone know why this is happening? It happens on all new apps I am building.

 

/Frank

Denmark

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Do you want to bypass consent popups:

    vbofengmsft_0-1629789719729.png

    If so,we could use PowerShell to bypass these consent pop-ups:

    1\Run PowerShell in administrator mode and then set this PowerShell module:

    Set-AdminPowerAppApisToBypassConsent

     2\Login with the admin account

    Add-PowerAppsAccount

    3\You can easily get the App Id for the app and insert this as the PowerAppName for the cmdlet and run it. Make sure you are connected to the PowerApps environment first by running the

    Set-AdminPowerAppApisToBypassConsent -AppName {APPID}

    I think this link will help you a lot:
    PowerApps quick tip: Bypass consent popups 

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-bofeng-msft Thx for your suggestion, and I have read about it. But the thing is, that it is happening on all new apps I am building, and it happens everytime the app is being loaded, not just the first time. This behaviour is only for new apps that I am building. Existing apps do not have this continuing pop ups after the first time they allow the connections.

     

    /Frank

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    I've made some tests but did not encountered the problem you mentioned.

    Maybe you can try to re-authenticate the connection or re-create a connection.

    vbofengmsft_0-1629797422401.png

    Best Regards,

    Bof

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-bofeng-msft I have done some more investigation, and I think I have a problem with the app itself. I do not know what it is. I have tried to change connection, re-create connection, remove connection, re-authenticate but nothing helps. then I tried to build an test app with the same data connections to the same SharePoint lists and BOOM, everything works like a charm. It puzzles me where the error can be, but for now I decide to build up the app again from scratch, and hope I will never meet this challenge again.

     

    THX for your time and suggestions. Have a nice day 🙂

     

    Frank

    Denmark

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Thanks for your feedback.If this problem persists after you create a new app, I suggest you consider creating a support ticket for help.

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I will do 😊

     

    Frank

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard