cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PhilD
Level 8

Embedded app requests permission EVERY time page is refreshed

I understand PowerApps asking for permission to use a connector but I have one simple app that submits to a SharePoint list that I embedded in a SharePoint online page that prompts EVERY SINGLE time the page is refreshed (even for me and own both the list and the app). This really ruins the otherwise awesome experience I could deliver.

 

This seems unreasonable for sure and I don't think it is by design as I have other apps embedded the same way that only ask once per session, if that.

 

What could be causing this particular app to behave this way? 

 

  • SharePoint list permissions are 'contribute' for everyone in organization.
  • App permissions are 'can use' for everyone in organization.
  • One connection to this list in app.
  • Works fine once click allow, but a refresh 5 seconds later causes it to ask again.
  • Other apps in same environment do not behave this way.
  • Chrome, IE11 and FireFox (slightly less so in FireFox but still a problem).
1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps Staff cherie
Power Apps Staff

Re: Embedded app requests permission EVERY time page is refreshed

@PhilD, we've identified the issue but I'm not sure when we will have a fix for this. In the meantime, we do have a workaround for you. The next time you see the issue, click Switch Account and create a new sharepoint connection. This should resolve it for you.

View solution in original post

8 REPLIES 8
Power Apps Staff cherie
Power Apps Staff

Re: Embedded app requests permission EVERY time page is refreshed

@PhilD, do you think you could collect a session id for me? (Alt + right click when embedded in sharepoint)

 

Can you give me a session id for the app that is requesting for permissions every time and one where it isn't requesting for permissions?

 

Thanks

Cherie

PhilD
Level 8

Re: Embedded app requests permission EVERY time page is refreshed

Sure thing, I appreciate your help. I will get this right now.

PhilD
Level 8

Re: Embedded app requests permission EVERY time page is refreshed

Not sure how to get the session ID when the app is embedded in a page. I opened the app in PowerApps, and got the session ID that way (it did prompt me when opening the app in PowerApps).

Session ID: 09dbd566-e921-46ed-ba66-c8b47d0bd2ea
PowerApps 3.18103.18

Here is one that works as expected

Session ID: 8dd0470d-5f69-4789-acac-dd77eb5d8756
PowerApps 3.18103.18

Thanks again for helping.

Power Apps Staff cherie
Power Apps Staff

Re: Embedded app requests permission EVERY time page is refreshed

Alt + Right click will get you the session id when it's embedded.

 

I'll take a look at this

PhilD
Level 8

Re: Embedded app requests permission EVERY time page is refreshed

Great tip, thanks!

Here is the ID from an embedded session.

 

Session ID: 5f373c15-03ac-4dd4-95f0-865bcaddfa6e
PowerApps 3.18103.18
Power Apps Staff cherie
Power Apps Staff

Re: Embedded app requests permission EVERY time page is refreshed

@PhilD, we've identified the issue but I'm not sure when we will have a fix for this. In the meantime, we do have a workaround for you. The next time you see the issue, click Switch Account and create a new sharepoint connection. This should resolve it for you.

View solution in original post

PhilD
Level 8

Re: Embedded app requests permission EVERY time page is refreshed

Great, thanks for your help with this.

 

That did seem to fix it for me. Would the expectation be that this will fix it for other users as well (hopefully)?

 

Again, I thank you for your help.

Power Apps Staff cherie
Power Apps Staff

Re: Embedded app requests permission EVERY time page is refreshed

Yes that should fix it for the other users as well.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,509)