SSO NAA Outlook Add-in Error in Production Environment

Omer Erez 20 Reputation points
2024-12-12T01:22:21.5466667+00:00

I am experiencing an issue with the SSO NAA Outlook Add-in in the production environment. The setup works correctly in the development environment, but in production, it returns the following error when attempting to send the SSO to the 'token' endpoint:

{ 
  "error": "invalid_client", 
  "error_description": "AADSTS700046: Invalid Reply Address. Reply Address must have scheme brk-9199bf20-a13f-4107-85dc-02114787ef48:// and be of Single Page Application type. Trace ID: 38d9c6e8-2324-4ca1-9390-266c4ca13000 Correlation ID: 68b5af08-7e23-4d86-99ab-9f45dee1385b Timestamp: 2024-12-12 00:51:38Z", 
  "error_codes": [ 700046 ], 
  "timestamp": "2024-12-12 00:51:38Z", 
  "trace_id": "38d9c6e8-2324-4ca1-9390-266c4ca13000", 
  "correlation_id": "68b5af08-7e23-4d86-99ab-9f45dee1385b" 
}

What steps are necessary to resolve this issue, specifically regarding the required URIs to ensure functionality in production? The instructions and setup worked without issues in development.

Referencing the GitHub repository for context: Outlook Add-in SSO NAA Sample.

Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business

Answer accepted by question author
David Chesnut 241 Reputation points Microsoft Employee
2024-12-13T19:45:16.98+00:00

Hi Omer, Have you updated the brk-multihub://localhost:3000 SPA redirect in your app registration to reflect the production domain URI?

Thanks!

David

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.