Graph API not working in SPFX webpart for few tenants

Ankush Dhingra 0 Reputation points
2025-03-06T11:31:32.1933333+00:00

In SPFx webpart trigger Graph call and got console error "Error: To view the information on this page, ask a global or SharePoint admin in your organization to go to the API management page in the new SharePoint admin center." and for one tenant it was showing "Token request permission failed"

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,212 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.