MS Graph can't query for SharePoint data

Jonathan Perlman 1 Reputation point
2021-03-12T16:55:13.907+00:00

Hello,

I'm trying to query 365 SharePoint list data from MS Graph.

I've setup the app via portal.azure.com and I gave it application permissions to everything that is required for User, Mail, Sites and Groups. I gave it permissions on the MS Graph and SharePoint sections within the permissions.

I can query for Users and their calendar information but when it comes to Sites I get the following.

77277-2021-03-12-115128.png

We have the Azure AD Premium P1 subscription for Education.

I tried using the same tenant ID, Client ID and secret in Postman and I get similar results.

I tried to query for the same data via myself logged into Graph Explorer and I get the data I'm expecting.

How can I query for the data from SharePoint via the app credentials for all sites and all data in my tenant

Thank you.

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