Azure AD B2C Login returns 400 after long idle time (with no error shown on UI)

m b 25 Reputation points
2023-09-25T04:44:50.1566667+00:00

After keeping the Azure B2C login screen idle for the whole night (put to sleep), and then logging in with the same login page the next morning, it returns 400 bad request, silently failing without showing any errors on the UI.

The same issue is discussed in here as well: https://learn.microsoft.com/en-us/answers/questions/738925/azure-ad-b2c-login-page-gives-400-bad-request?page=1&orderby=helpful#answers

but I don't see anyone following up on it and there are no possible solutions suggested for it yet.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,954 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,497 questions
{count} votes

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.