Closed agn-7 closed 1 year ago
Sorry for late response. We tried this sample recently and could not reproduce the error. Would you mind double check your configuration in app_config.py
?
@rayluo Actually I don't remember what did I to tackle this problem at the end.
It is OK. Based on that error "ErrorInsufficientPermissionsInAccessToken", it was probably caused by an incorrectly configured scope (permission), so that the token you obtained was not the token your downstream API was expecting.
Glad that works out for you. If you haven't already, please subscribe (by clicking the "Watch" button near the upper right corner) to receive future updates on this sample. We are revamping this sample recently.
I use the respective repository to catch some stuff from microsoft graph API. Everything goes well including loading the page and authenticating the user using microsoft OAuth but when I call the
/graphcall
endpoint with the default scope (i.e. "User.ReadBasic.All") I encounter the following error despite the fact that this scope has delegated permission in the microsoft azure console: