Forum Discussion
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"
However, when I tried to set a simple password, I still received the message: “Choose a password that is harder to guess.”
Could you please assist me in resolving this issue?
Thank you.
Are you following this?
Get-MgUser -UserId <UserPrincipalName> | Select-Object -ExpandProperty PasswordPolicies
Clear-Host
Set-MgUser -UserId <UserPrincipalName> -PasswordPolicies "DisableStrongPassword"
- LogicDX342Copper ContributorThe first command yields no results, and the third command returns an error indicating that 'Set-MgUser' is not a valid command.
- wiguna_kurniawanCopper Contributor
Hallo LogicDX342 ,
Looks like you tried to turn off the strong password requirement
…but you’re still getting the “Choose a password that is harder to guess” message. That can be frustrating, so here’s a couple things to check:
Double-check Azure AD Password Policies: Sometimes, Azure AD has its own rules about strong passwords. If Azure AD requires strong passwords, it might override what you tried to do.
Run the Command as a Global Admin: Make sure you're running the command as an admin with full permissions. Some changes like this need extra privileges to actually stick.
Verify the Setting: You can double-check if the policy actually applied by running:
powershell
Get-MgUser -UserId <UserPrincipalName> | Select-Object PasswordPolicies
This will show if “DisableStrongPassword” is applied.
If it's still giving you issues, it might be worth reaching out to Microsoft Support since sometimes other security settings can force strong passwords anyway.
Good luck, hope this helps!
Sincerely,
Wiguna Kurniawan
- LogicDX342Copper ContributorThank you for your assistance. I've confirmed that I am using a global admin account. However, the command you provided only returns an empty list.