Office365 User Identity Management

From DFWLPiki
Revision as of 17:37, 6 January 2022 by Jhorne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Setting a User to have NonExpiring Password

Connect-MSOLService
Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires
Get-MSOLUser -UserPrincipalName alias | Select PasswordNeverExpires
Set-MSOLUser -UserPrincipalName alias -PasswordNeverExpires $true