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