As part of Service account Creation, we have a requirement like we have to Set User Cannot change password flag in AD, but I dont see any direct attribute to set it using provisioning plan , I tried running a After Create script with below command, but didn’t work
Set-ADUser -Identity $ServiceAccount -CannotChangePassword $true
Did anyone already worked on this use case, can you please provide a solution if you are able to do this , this is really urgent, any help would be really great
you can set into the provisioning form on the userAccountControl with active status more 64. For example if have an user with UAC = 512, the relative active normal user with no change pwd is 576.