Skip to content

Outlook-Add-in-SSO-NAA New Outlook acquireTokenPopup Failure #1079

@johnw86

Description

@johnw86

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:

  1. Follow instructions to run the sample (manifest.xml)
  2. Attempt to use the Get user data button in the sideloaded add-in
  3. See that the initial silent attempt fails due to InteractionRequiredAuthError
  4. 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

New outlook
Image

Classic outlook
Image

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions