![]() He was not prompted to change the Outlook for MAC password yet mail flowed to and from the application. He started his MacBook laptop and the Outlook application. He logged onto webmail and was prompted to change password. He did not change the password on his phone yet it continued to work with the old password. ![]() User1 was prompted about 3 hours later within Outlook. Have fun ?įor the three users that were not prompted immediately: The list of users and new passwords will be exported to CSV, which you can use to redistribute them. You can exclude the admin account or just filter out the users you need instead of using All. $arrMsolUserData | Export-Csv -Path "C:\passwords.csv" –NoTypeInformation Set-MsolUserPassword -UserPrincipalName $user.UserPrincipalName -NewPassword $Password -ForceChangePassword $falseĪdd-Member -InputObject $objProperties -MemberType NoteProperty -Name "UserPrincipalName" -Value $user.UserPrincipalNameĪdd-Member -InputObject $objProperties -MemberType NoteProperty -Name "Password" -Value $Password To force a group of users to change their passwords: Get-MsolUser -All | ? ) -join "" ![]() To force all users to change their password: Get-MsolUser -All | Set-MsolUserPassword -ForceChangePasswordOnly $true -ForceChangePassword $true To force a user to change his password on next login, without actually changing the password on his behalf: Set-MsolUserPassword -UserPrincipalName -ForceChangePasswordOnly $true -ForceChangePassword $true This seems to be a frequent request, so here’s how to do it.
0 Comments
Leave a Reply. |