Azure B2C Custom sign in/sign up policy - Sign In Not working

Tommy Waite 30 Reputation points
2025-04-28T21:14:56.4366667+00:00

I'm having some trouble with the B2C custom sign in/sign up policy where I can sign up the user fine and I see this reflected in the tenant and DB. But when trying to sign in I get "The username or password provided in the request are invalid". I know the password i'm entering is correct and even resetting the password manually on the user from the portal does not work. Any ideas on what I need to do here to get this working would be much appreciated!

User's image

I have followed the samples at https://github.com/azure-ad-b2c/samples/tree/master/policies/custom-email-verifcation-displaycontrol.

I want to use custom email verification using MailJet and this all works fine. But the sign in is currently broken and i'm unsure why as I haven't changed anything.

I have also updated both of these input claims in my TrustFrameworkExtensions.xml file to the ProxyIdentityExperienceFramework App ID as mentioned in the comment.User's image

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,687 questions
{count} votes

Accepted answer
  1. Harshitha Eligeti 4,140 Reputation points Microsoft External Staff Moderator
    2025-05-06T19:59:23.96+00:00

    Hello @Tommy Waite
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer. 

    Issue: Azure B2C Custom sign in/sign up policy - Sign in Not working. 

    Solution: By auto generating the custom policy files via https://b2ciefsetupapp.azurewebsites.net/ the issue got resolved.

    If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue. 

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution. 

    1 person found this answer helpful.
    0 comments No comments

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.