Outlook NAA issue : "Something went wrong. [9zj08]" Error #5336
Labels
Area: Outlook
Issue related to Outlook add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
Possible-Solution
Similar-Issue
I have implemented NAA in my addin which work perfectly fine with OWA in Chrome, Edge, Safari and in Outlook App in MacOS but it doesn't work in Outlook Windows app. I have tried on both classic and new outlook app. All the MS office updates are installed in the system.
When I launch the addin in outlook app, the consent window does not load unless I use this combination of scope :
const tokenRequest = { scopes: ["User.Read", "api://" + {myADAppID} + "/access_as_user"] };
If I use anything other User.Read or access_as_user, then the app will stop opening the consent popup.
After using this scope, the consent popup opens but it does not return the token and keep giving this error.
Your Environment
Expected behavior
I should be able to acquire a token using MSAL and NAA approached defined in the example application in Windows Desktop Outlook client.
Current behavior
I receive the above error when attempting to obtain an access token.
It is occurring after calling the following line of code (popup opens with the error shown immediately). I have already allowed the permissions for my org when I tested in the browser the first time.:
const authResult = await this.pca.acquireTokenPopup(tokenRequest);
The text was updated successfully, but these errors were encountered: