Thursday, December 12, 2024

“A constraint violation occurred. (Exception from HRESULT:0x8007202F)”

Abstract: If you wrote some code to perform some password changes, you might see the error message “A constraint violation occurred. (Exception from HRESULT:0x8007202F)” once triggered. The solution here is very easy.

The error message “A constraint violation occurred. (Exception from HRESULT:0x8007202F)” might comes up, if the AD object has the flag set “User cannot change password”. Removing the flag solved the issue.

Conclusion:

Make sure your code check at first if the user is allowed to change a password, before you trigger that.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

35FollowersFollow
- Advertisement -

Latest Articles