|
Recently I needed to do this for our PRTG alerting account
which was failing to send notifications as the O365 password had
expired. I did this from Powershell within Windows 10 as follows: |
|
Install-Module MsOnline
|
|
Then run |
|
Connect-MsOlService
|
|
at this point an O365 authentication box pops up - enter your credentials. Once connected run: |
|
Set-MsolUser -UserPrincipalName user@contoso.com -PasswordNeverExpires $true
|
|
Some of these commands have since been deprecated. For an explanation look at this post. |
No comments:
Post a Comment