You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to set password expired to at the time user creation. password_expired can only be set once user is created. otherwise its generate error "New-ADUser failed: A parameter cannot be found that matches parameter name 'PasswordExpired'."
ISSUE TYPE
"msg": "New-ADUser failed: A parameter cannot be found that matches parameter name 'PasswordExpired'.", "object_guid": null}
SUMMARY
Unable to set password expired to at the time user creation.
password_expired
can only be set once user is created. otherwise its generate error "New-ADUser failed: A parameter cannot be found that matches parameter name 'PasswordExpired'."ISSUE TYPE
"msg": "New-ADUser failed: A parameter cannot be found that matches parameter name 'PasswordExpired'.", "object_guid": null}
COMPONENT NAME
microsoft.ad.user
ANSIBLE VERSION
COLLECTION VERSION
OS / ENVIRONMENT
Linux 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
STEPS TO REPRODUCE
ansible-playbook -i hosts microsoft.ad.user.yaml
If I create following tasks playbook than it does not throw error
ansible-playbook -i hosts microsoft.ad.user.yaml
EXPECTED RESULTS
It should not generate "A parameter cannot be found " and should create the user with PasswordExpired attribute
ACTUAL RESULTS
"msg": "New-ADUser failed: A parameter cannot be found that matches parameter name 'PasswordExpired'.", "object_guid": null}
The text was updated successfully, but these errors were encountered: