$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Connect-msolservice
Get-msoluser | set-msoluserpassword -newpassword Pass1234 -forcechangepassword 0
change all password to Pass1234, does not require to change at next logon
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Connect-msolservice
Import-Csv c:\screen\password.csv|%{Set-MsolUserPassword -userPrincipalName $_.UserPrincipalName -NewPassword Pass1234 -ForceChangePassword $false}
CSV file one column 1 field
change all password to Pass1234 from a list of specify user, does not require to change at next logon