'The username or password provided in the request are invalid' error in custom policy

%3CLINGO-SUB%20id%3D%22lingo-sub-2442117%22%20slang%3D%22en-US%22%3E'The%20username%20or%20password%20provided%20in%20the%20request%20are%20invalid'%20error%20in%20custom%20policy%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2442117%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20created%20password%20reset%20custom%20policy%20in%20Azure%20B2C%20as%20per%20the%20Microsoft%20document.%20It%20asking%20for%20entering%20username%20and%20password%20if%20we%20don't%20have%20any%20active%20sessions.%20After%20entering%20username%20and%20password%2C%20a%20window%20for%20password%20reset%20opens%20and%20am%20able%20to%20update%20the%20password.%3C%2FP%3E%3CP%3EBut%20if%20there%20any%20active%20session%2C%20it%20directly%20pop%20up%20the%20password%20reset%20page.%20When%20i%20enter%20old%20password%2C%20new%20password%2C%20confirm%20password%20and%20click%20on%20continue%20button%2C%20it%20showing%20'%3CSPAN%3EThe%20username%20or%20password%20provided%20in%20the%20request%20are%20invalid'.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20tried%20to%20recreate%20the%20the%20steps%20many%20times%20and%20still%20the%20issue%20persist.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20have%20followed%20all%20steps%20exactly%20as%20in%20Microsoft%20document.%20Can%20any%20one%20please%20help%20me%20to%20resolve%20this%20issue%3F%3C%2FP%3E%3CP%3E%3CSPAN%3EDocument%20I%20have%20followed%3A%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory-b2c%2Fadd-password-change-policy%3Fpivots%3Db2c-custom-policy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory-b2c%2Fadd-password-change-policy%3Fpivots%3Db2c-custom-policy%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I have created password reset custom policy in Azure B2C as per the Microsoft document. It asking for entering username and password if we don't have any active sessions. After entering username and password, a window for password reset opens and am able to update the password.

But if there any active session, it directly pop up the password reset page. When i enter old password, new password, confirm password and click on continue button, it showing 'The username or password provided in the request are invalid'.

I tried to recreate the the steps many times and still the issue persist.

I have followed all steps exactly as in Microsoft document. Can any one please help me to resolve this issue?

Document I have followed: https://docs.microsoft.com/en-us/azure/active-directory-b2c/add-password-change-policy?pivots=b2c-cu...

0 Replies