Error: To view the information on this page, ask a global or SharePoint admin in your organization to go to the API management page

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/283624

Domanda

I am following a SPFX tutorial to setup my first Graph call. When I run the call, it suppose to see an API request pending for my approval.

I tested my webpart at localhost bench, click the button to 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."

That's it. In the SharePoint admin site "API access" page I see no pending task. How could I troubleshoot it?

È stato utile?

Soluzione

The problem is I tested my webpart at localhost bench. If I test with https://mysharepoint.sharepoint.com/_layouts/15/workbench.aspx, the API access request will be submitted properly.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top