Azure B2C - Custom Policy: Is it possible to grab error on user journey about failed login (locked)?

Carlos Dias 5 Reputation points
2023-01-11T22:03:39.46+00:00

I have a requisite to invoke an API when an B2C accounts is locked.

There is a doc about generating error codes and message:

[https://learn.microsoft.com/en-us/azure/active-directory-b2c/oauth2-error-technical-profile

Is there a way to intercept this specific login error in a user journey?

Thanks,

CD

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,641 questions
{count} vote