Forum Discussion
JSSG
Jul 01, 2022Copper Contributor
Access token issue while accessing service health graph api using MSAL.js in sharepoint page
We are trying to show compliance service health details in sharepoint page. Registered app , allowed admin consent for both serviceHealth.Read.All, User.Read both. Using cdn to refer js file https://...
JSSG
Feb 28, 2023Copper Contributor
Issue was with scopes. ServiceHealth.Read scope is not required as mentioned in documentation.
scopes: ["user.read"] is enough for the code to run. This resolved issue !!
scopes: ["user.read"] is enough for the code to run. This resolved issue !!