-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)status:fixed-next-dropIssue planned to be fixed in an upcoming release.Issue planned to be fixed in an upcoming release.type:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
other (enter in the "Additional environment details" area below)
Developer environment
No response
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
- Teams desktop app (native client)
- SPFx 1.11.0
- Node.js 10.24.1
Describe the bug / error
SPFx webpart with Graph API hosted as teams tab is working fine in browsers but failing in native client app and SharePoint app too. We have started facing this issue recently as it was working before. On one of our dev tenant it is working fine but not working in prod environment.
Steps to reproduce
- Add a sharepoint page as Teams tab with SPFX webpart and graph api in it.
- Open the tab in native client.
- The graph api gives 403 Forbidden error.
- On checking the network the url which throws this error is
https://tenant.sharepoint.com/_api/Microsoft.Sharepoint.Internal.ClientSideComponent.Token.AcquireOBOToken?resource=%27ece7c1fb-fcef-4195-ae0c-65fe47a4602e%27&clientId=%27e427a6c3-f470-4c33-9af7-6b0e1fd21eda%27
Expected behavior
The teams tab with graph api should load the data in native client too.
sottenad and xstos
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)status:fixed-next-dropIssue planned to be fixed in an upcoming release.Issue planned to be fixed in an upcoming release.type:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.