Forum Discussion
LogicDX342
Nov 01, 2024Copper Contributor
How to Disable the Strong Password Requirement
Hello, I followed the instructions in the Set strong passwords guide and used the following command Update-MgUser -UserId <UserPrincipalName> -PasswordPolicies "DisableStrongPassword" How...
Kidd_Ip
Nov 02, 2024MVP
Are you following this?
Get-MgUser -UserId <UserPrincipalName> | Select-Object -ExpandProperty PasswordPolicies
Clear-Host
Set-MgUser -UserId <UserPrincipalName> -PasswordPolicies "DisableStrongPassword"
LogicDX342
Nov 03, 2024Copper Contributor
The first command yields no results, and the third command returns an error indicating that 'Set-MgUser' is not a valid command.