How to enable Azure B2C custom banned password list

Tina 6 Reputation points

The custom banned password list option is not avaible for our Azure B2C tenant. Please advise how we can enable this feature.


Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,458 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,786 Reputation points Microsoft Employee

    You can use ClaimsTransformations component with LookupValue transformation of B2C custom polices to enable and validate the custom banned password list. If the LookupValue transformation matches up with any one of the InputParameters, then the policy will return a claim with bannedPassword as true else it will return false.


    You can find complete implementation in GitHub repository over here.