Officeruntime.auth.getaccesstoken() used in OBO flow throws error #5254
Labels
Area: Outlook
Issue related to Outlook add-ins
Needs: author feedback
Waiting for author (creator) of Issue to provide more info
Status: no recent activity
Issue or PR is stale (no recent activity)
Hi,
I use the Officeruntime.auth.getaccesstoken() to get a token and then use this token as assertion in the OBO flow to access graph APIs.
However I get the following error:
AADSTS65001: The user or administrator has not consented to use the application with ID 'xxx' named 'xxx'. Send an interactive authorization request for this user and resource.
How to resolve this? Can we resolve this in this method Officeruntime.auth.getaccesstoken()? Need it urgently for the new authentication method for outlook add-in
The text was updated successfully, but these errors were encountered: