Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to update custom user attribute passwordResetOn through custom policy #626

Open
bhosalemahesh899 opened this issue Jul 16, 2024 · 0 comments

Comments

@bhosalemahesh899
Copy link

Title: Azure AD B2C Custom Policy - Password Expiry Flow Not Working on Production

Issue Description:
I'm encountering an issue with the password expiry flow in Azure AD B2C. When users log in to our production environment, they immediately see the password expiry screen and are prompted to set a new password. Strangely, this issue doesn't occur in our test environment, where the password expiry flow works as expected.

Details:

  • We're using the policy from this GitHub repository.
  • Permissions (Directory.ReadWrite.All and User.ReadWrite.All) have been granted to the b2c-extensions-app.
  • We've added the client ID and object ID in the AAD-Common profile.
  • Despite making all the necessary changes, the passwordResetOn attribute is not getting updated in our production AAD.

Additional Context:

  • Our test AAD has custom policies configured, and everything works fine there.
  • However, when we copied the same policies to the production environment and adjusted the client ID, the issue persists.

Any insights or suggestions would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant