Forum Discussion
Ridhijain
Feb 23, 2022Copper Contributor
S2SUnauthorized error while retrieving Microsoft 365 usage reports via MS Graph API
I have been trying to get usage reports via Graph API using MSGraphClient in SPFx. I have added Reports.Read.All permissions in my package-solution.config file. I am getting the error "S2SUnauthorize...
VasilMichev
Feb 24, 2022MVP
Why don't you use the Graph API endpoints directly?