AadHttpClient / MSGraphClient not working SharePoint Mobile App #7694

 

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested

  •  💥 Internet Explorer
  •  💥 Microsoft Edge
  •  💥 Google Chrome
  •  💥 FireFox
  •  💥 Safari
  •  mobile (iOS/iPadOS)
  •  mobile (Android)
  •  not applicable
  •  other (enter in the "Additional environment details" area below)

Additional environment details

Issue is only happening in the SharePoint Mobile App. Works fine in all browsers, desktop and mobile.

Describe the bug / error

I am using the aadHttpClient to access an Azure secured API (but have also noticed the Graph calls failing too) within the SharePoint Mobile app are not working. I get a generic error response "Token request previously failed" . Unfortunately, it's pretty difficult to debug the mobile app otherwise to figure out what the issue could be.

Happy to take extra steps if you have any for me.

Steps to reproduce

  1. Create an SPFx Web part that uses the MSGraph Client or an aadHttpClient
  2. Open the application in the SharePoint Mobile App
  3. Web Parts will fail with error "Token request previously failed"

Expected behavior

I expect the addHttpClient or msGraphClient to be able to be issued valid tokens to make calls to their respective endpoint.

Comments

  1. Different kinds of dissertation webpages on-line imagine you're even are given obviously reported on your blog. Lifeguard class

    ReplyDelete

Post a Comment

Popular posts from this blog

Tips To Help You Get More YouTube Views And Subscribers

Birthday Traditions & Activities - 15 Ideas to Make B-Day's Fun & Meaningful