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.

Outlook
Outlook
A family of Microsoft email and calendar products.
4,218 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,103 questions
{count} votes

Accepted answer
  1. David Chesnut 166 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

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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