-
Notifications
You must be signed in to change notification settings - Fork 932
Open
Description
URL of sample
[https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/auth/Outlook-Add-in-SSO-NAA]
acquireTokenPopup in New Outlook
Running the sample code in both office.outlook.com and classic Outlook on windows the flow works correctly. Silent request intitially fails and the code falls back to displaying the tokenPopup requesting the user to grant access. This flow though does not work on New Outlook with an error in the console.
Unable to acquire token via popup: ServerError: native_executor_error
To Reproduce
Steps to reproduce the behavior:
- Follow instructions to run the sample (manifest.xml)
- Attempt to use the Get user data button in the sideloaded add-in
- See that the initial silent attempt fails due to InteractionRequiredAuthError
- See that the fallback to acquireTokenPopup throws a unhandled error
Expected behavior
I would expect the popup to display as it does in classic outlook and outlook web.
Screenshots
Environment
- Platform: PC desktop
- Host: Outlook
- Microsoft Outlook Version: 1.2025.1209.500
- Client Version: 20251212003.10
- WebView2 Version: 143.0.3650.96
- Operating System: Win11

