![]() Get-MSOLUser -UserPrincipalName alias | Select PasswordNeverExpires To check the PasswordNeverExpires for just one user, use this cmdlet, replacing alias with the user's alias. ![]() Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires To list all users and see if their password expires, use this cmdlet: To connect to it, use this cmdlet, entering your administrator username and password when asked. If you don't have MSOline module installed, open PowerShell using Run as Administrator and use this to install: You can use either the AzureAD or MSOnline module to check password settings. If the password is set to expire, you can change the password age or the length of notification. Click Edit if you need to change any of the settings. Log into the Office 365 Admin center, expand the Settings menu, select Security & privacy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |