30-08-21 11:44 AM
Hello,
I'm trying to utilize the Microsoft Graph - SharePoint Web API Service v2.0 VBO asset downloaded from the Digital Exchange.
Running the process according to the manual attached to the asset, I'm unable to perform any action using the Web API. Microsoft Graph is being authorized and an AccessToken is generated. With the token I'm trying to perform a simple action to Get Lists, but it terminates with following message:Internal : Unexpected error Error during Web API HTTP Request
HTTP Status Code: 403
HTTP Response Content: {"error":{"code":"AccessDenied","message":"Either scp or roles claim need to be present in the token.","innerError":{"date":"2021-08-30T10:41:33","request-id":"c2eec5c5-9a3e-4ccb-955e-f1d323c315a4","client-request-id":"c2eec5c5-9a3e-4ccb-955e-f1d323c315a4"}}}
The application in the Azure AD has the same rights according to the PDF Manual. Please see bellow.
Are we missing some additional rights?
Thank you
Tomas Harcar
30-08-21 06:10 PM
31-08-21 06:31 AM
04-10-21 05:01 PM
05-10-21 06:38 AM
Hi Eric,
we were able to ask for more permissions, and most likely a permission Sites.ReadWrite.All made it work.
I would say the issue is now resolved.
Thank you for your support
Tomas