简体   繁体   中英

Change Password Not working with Azure AD B2C

We have created a Azure AD User using a Graph API and using custom policies for signIn. The user is able to sign In with the user principal name address(xyz@domain.onmicrosoft.com)

Now, Recently we have changed the way user is getting created. Instead of adding the userPrincipal Name we are updating the SignInNames Property of user. So user is able to login with just the userName without appending domain to it. But, after making this change the Change Password is not working. It says the "username or password is Invalid".

Could you please help us on this. Thanks!

When you created the user with only the username, how did you set the value of forceChangePasswordNextLogin ?

If you set it true , when you logging in, you will get the error "username or password is Invalid". But if the value is false , you could use the username to succeed login.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM