Login to powershell (https://berkel.freshdesk.com/a/solutions/articles/6000128098):
Open Windows PowerShell shortcut
Command: Set-ExecutionPolicy RemoteSigned
Command: $UserCredential = Get-Credential
Username is krowlan@berkelandcompany.com
Command: $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Command: Import-PSSession $Session
[Do you need to load these modules on a new computer without these modules loaded?
Install-Module MSOnline
Install-Module AzureAD
Import-Module AzureAD
Do it if needed]
Command: Connect-MsolService -Credential $credential
Command: Set-MsolUser -UserPrincipalName krowlan@berkelandcompany.com -PasswordNeverExpires $true
When done, command: Remove-PSSession $Session
Close PowerShell window