Unable to set edsaDoNotRequirePassword attribute to $False using powershell script

I have a non-human account creation poweeshell script which sets the value edsaDoNotRequirePassword = $False, but the script fails to update the value and picks to True.

Also when we try to update using 'Update account attributes' powershell script and enter this value to False using a template still it fails to pick the value to 'false'

any help why does this fails ?

thank you!

  • This should work, so maybe after reviewing the cmdlet below, you could share a snippet of your script that is trying to write to this Active Roles attribute.

    Please compare what you have to this simple example of modifying it for an existing user (verify that the -proxy parameter is present):

    Set-QADUser -identity "TestUser" -proxy -objectattributes @{edsaDoNotRequirePassword=$false}