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.

Leave your comments

Post comment as a guest

0

Comments

    • No comments found