Office365 User Identity Management

From DFWLPiki
Revision as of 17:04, 11 November 2019 by Jhorne (Talk | contribs)

Jump to: navigation, search

Setting a User to have NonExpiring Password

[nowiki]

Connect-MSOLService Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires Get-MSOLUser -UserPrincipalName alias | Select PasswordNeverExpires Set-MsolUser -UserPrincipalName alias -PasswordNeverExpires $true [/nowiki]