quarta-feira, 1 de fevereiro de 2017

HOW TO SET A INDIVIDUAL USER PASSWORD TO NEVER EXPIRE ON OFFICE 365

Open power shell module power shell "Azure active directory" start with the command:
Connect-MsolService
put your data for connect.
After that:
Set-MsolUser -UserPrincipalName <youemail@yourdomain.com.br> -PasswordNeverExpires $true

Find out whether a user's password is set to never expire

For find the true information put:
Get-MSOLUser -UserPrincipalName <youemail@yourdomain.com.br> | Select PasswordNeverExpires

Nenhum comentário:

Postar um comentário