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 / Authentication Loop Issue
Power Apps
Unanswered

Authentication Loop Issue

(0) ShareShare
ReportReport
Posted on by 81

We developed an app that we will push via the web player but users will access on their phones (most have personal devices so we cannot require them to download the app).  

 

The app has connection to a SharePoint List and Office365Users.

 

When users are testing they keep getting asked to Authenticate over and over again.  Some do not experience this if they go incognito in Chrome on their mobile browser.  Some users are also only getting a white screen.

 

Without resolving this, we cannot push this out.  Any pointers are greatly appreciated!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    Hi @Amghost ,

    Sorry, but forget about trying to run the app on mobile devices in a the app browser - you will not get good results even if it manages to work. They will need to download the App.

    We have about 120 users on a variety of devices and have a number of deep-linked apps that have to be force-launched in the app instead of the browser as the browser (Chrome or Safari) will open them, but barely function. The mobile device browser simply does not have the ability to render the required code.

    As for your authentication issues, this should only come up once (to create the connection) once the app is installed. Over half the 120 users mentioned do not have company devices and have installed the apps on their own - we did not required this, but the apps are useful to them, so they asked for them to be shared and installed it.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

    Hi @Amghost ,

    Do you mean that these end users keep getting asked to Authenticate when they run your canvas app?

    Is the "multi-factor authentication" option enabled for your end users's sign in account? 

     

    Firstly, if these end users want to run your shared canvas app, they could download PowerApps Mobile App in their Mobile device. Then use the PowerApps Mobile App to run your shared app instead of web browser in their mobile device.

     

    Also please make sure these end users have proper license (Office 365 license for PowerApps at least) to access PowerApps features.

     

    Please check if the "multi-factor authentication" option has been enabled for your end users's account. If the "multi-factor authentication" option is enabled for your end users' sign in account, they may face this issue. Please check the following thread for more details:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Powerapps-keep-asking-to-authenticate-by-calling-my-phone-Any/td-p/84393

    Please consider ask your end users to disable the "multi-factor authentication" option for their sign in account, and then run your shared app again, check if the issue is solved.

     

    If the issue still exists, I think the Set-AdminPowerAppApisToBypassConsent PowerApps PowerShel Cmdlet could help fix this issue. You could install PowerApps PowerShell module in your PC, and then execute the following cmdlet in your PowerShell Command Window:

    11.JPG

    Note: The 'c7a3aee1-4628-451e-8aa1-e1b342c44141' represents the App ID of my canvas app, please replace it with actual App Id of your shared app.

    Please check the following blog and article for more details:

    https://poszytek.eu/en/microsoft-en/office-365-en/powerapps-en/end-user-receives-pop-up-asking-for-permission-when-launching-powerapps/

    https://docs.microsoft.com/en-us/power-platform/admin/powerapps-powershell#cmdlet-list---admin-cmdlets

    Best regards,

  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    Thanks @v-xida-msft for the explanation of the authentication issues.

    I was trying to guide @Amghost to recognise a bigger issue with mobile devices browsers and Power Apps.

    @Amghost , happy to share further if required.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Amghost Profile Picture
    81 on at

    @v-xida-msft - 

    I do not believe this will resolve the issue as this solution seems to target connections within the App.  Our issue is that the app goes into a loop asking users to Authenticate their account before the App will even open.  

    In our scenario, we cannot have the users Download the App as they are using their personal devices.  

     

    Is this a known issue with the WebPlayer on Mobile Browsers?

    Is there are resolution?

  • Amghost Profile Picture
    81 on at

    @WarrenBelz - Yes.  Any guidance is appreaciated.

    Unfortunately, this is a show-stopper in this scenario.

  • Amghost Profile Picture
    81 on at

    @v-xida-msft @WarrenBelz - I also just had a user report that they experienced the same issue using the App.  That is not good news... Could it be something in the App causing it?

  • Amghost Profile Picture
    81 on at

    @v-xida-msft @WarrenBelz -

    Getting a little further with this, but still troubling.  Seems to be a Cookie issue and we cannot have staff disable cross-site tracking in their settings.

     

    Getting an error - "Unable to obtain access token for resource 'https://apihub.azure.com'. Error from ADAL.js:...."

     

    Any ideas or pointers/work arounds...?

  • richdiMSFT Profile Picture
    Microsoft Employee on at

    Hi Amghost,

     

    Sorry your users are getting multiple prompts. Ideally this doesn't happen however on iOS the blocking of cross-site tracking also impacts authentication providers. 

     

    Azure AD has this article: Azure AD Prevent cross-site tracking. 

     

    Right now Power Apps can't workaround the issue. Hopefully your users can download the mobile app if this is blocking them.

     

    Sorry that I don't have a better solution for you.

     

    Rich Dickinson

    PM Power Apps

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

    Hi @Amghost ,

    I think @richdiMSFT has given a proper explanation for this issue. As an available solution, please consider ask your end users to download PowerApps Mobile App in their mobile device, then run this shared app using PowerApps Mobile App, then check if the issue is fixed.

     

    Please also check and see if the following thread would help in your scenario:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Authentication-loop-with-PowerApps-Mobile-App/td-p/371620

     

    Best regards,

  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    Hi @Amghost ,

    Sorry - been offline for a while.

    If you are using the app, it should not be an issue. I have it downloaded on private Android phone and tablet as as long as you sign in, it has always worked without problems. As I related earlier, authentication is the least of your issues on the app browser. 

    Have you tried the app on your phone?

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 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard