Nov 21 2023 11:37 PM
Hi there,
I am checking the exchange cutover migration from on-premises to exchange online and all the steps are clear for me.
I just have one question that i did not find a clear answer for it.
when starting the migration batch it will provision the users in office 365, what will be the initial password of the users?
Thanks
Nov 22 2023 02:35 AM
Nov 22 2023 04:33 PM
Nov 22 2023 08:45 PM
Hello and thanks for your reply...
Currently we don't have any connection to M365 and the AZure AD connect is not installed.
Nov 22 2023 08:49 PM
Nov 23 2023 03:39 AM
@najwan: The users are created as soon as you complete the migration. You must then reset the password.
Dec 04 2023 11:02 AM
@najwan, when you move your email from your on-premises server to Exchange Online, users will keep their existing passwords. They won't need to create new passwords when they first log in to Exchange Online.
The reason users don't need to reset their passwords is because the migration process copies over their existing password information. When they log in to Exchange Online, their password is checked against the same information stored in their on-premises server. This ensures a smooth transition without any password hassles for your users.
In the situation, when you want to change the initial password for users, you can do so after the migration is complete. My recommendation is to use the Set-MsolUserPassword cmdlet in PowerShell to reset the password for individual users, or you can use the Azure Active Directory PowerShell for Graph module to reset the password for multiple users, for example it can look like this:
Set-MsolUserPassword -UserPrincipalName email address removed for privacy reasons -NewPassword (ConvertTo-SecureString -AsPlainText "newPassword" -Force)
To reset the password for multiple users using the Azure Active Directory PowerShell for Graph module, apply this:
$users = Import-Csv -Path "C:\Users.csv"
foreach ($user in $users) {
$newPassword = $user.NewPassword
Set-AzureADUserPassword -ObjectId $user.ObjectId -NewPassword (ConvertTo-SecureString -AsPlainText $newPassword -Force)
}
One more recommendation is to use some backup software, in my case it's nakivo, and also keep in mind, that resetting the password for users will require them to create a new password the next time they log in to Office 365.