How do I grant permissions to the Microsoft Graph API


I can't get any data from Graph API. What do I do?


Go to the SharePoint admin centre by going to admin > SharePoint

From there, click on apps > try the preview

Then click on API management

From here, select the Microsoft Graph APIs that you want to use and click on Approve or Reject

If you run into errors during the approve/reject process, try refreshing the page and select the APIs one at a time to approve rather than approving them in bulk.