Set-MsolUser –UserPrincipalName –PasswordNeverExpires $true
Now you can use the following cmdlet to change the password policy for the password to never expire..
To get a list of the Microsoft Online Office 365 users:
First connect to Office 365 . Consider, you need administration privileges to change account settings for other users..
The default password expiration policy of is set to 90 days. That means that users have to change their password every 90 days. I think basically this is a good and secure policy but on the other side, it can be annoying and maybe your company has an other security policy or for some other reason you have to deactivate/change this. We can change this setting through PowerShell with the Microsoft Online PowerShell Module.
Office 365–Change the password expiration policy
christiano.ch blog – personal knowledge base, news, memoires et cetera
Office 365–Change the password expiration policy « Office 365 « Microsoft « ..::\ www.christiano.ch //::..
Комментариев нет:
Отправить комментарий