IDX20803 When attempting to verify token

Mark B 5 Reputation points
2025-01-30T17:18:05.4833333+00:00

Our production environment started giving us the error below for seemingly no reason halfway through the day.

The same code works when running on localhost (using the same tenant, clientId, etc.)

Our production environment is running on AWS.

Any advice on what could be causing the issue?

[17:12:00 ERR] Message: IDX20803: Unable to obtain configuration from: 'https://login.microsoftonline.com/ef6eXXXXXXXXXXXXXXXXXXXX7d/.well-known/openid-configuration'. Will retry at '01/01/0001 00:00:00 +00:00'. Exception: 'System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://login.microsoftonline.com/ef6ecXXXXXXXXXXXXXXXXXXXXXXX7d/.well-known/openid-configuration'.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,772 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,138 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mark B 5 Reputation points
    2025-01-31T09:41:25.3733333+00:00

    Hi @JasonPan - MSFT Thanks for your prompt reply.

    I enabled ShowPII but the output didn't change.

    However, I have to hold my hands up in embarrassment, and admit that this was a network config issue on our end that was blocking all exernal traffic. Thanks for your time. Really appreciate it.

    1 person found this answer helpful.
    0 comments No comments

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.