The Connection to the Server could not be completed Migrating to Exchange Online
Use receive the following error when migrating from Exchange On-Prem to Exchange Online.
After receiving this issue, I decided to look further into the MigrationEndPoint using PowerShell for EXO.
Get-MigrationEndpoint -Identity mail.o365lab.com |fl
Here I can see that the user who created the Hybrid Setup no longer exisit , so the next step is to modify the Migration End Point account details.
To modify the Migrationed End Point Account Detais, click on Migration and then Click on the “…” ,
Then select Migration End Point.
From the Migration Endpoint Menu click on your Migration EndPoint which was created during the Hybrid Setup.
After selecting the EndPoint click on the “Edit” button.
Click on Update, to modify the current user and change it to a valid service account that has the needed permissions.
Once the user name and password has been updated, click on Save. Then create a new Migration Batch job.
As we can see the newly created migration Batch is running and syncing the user.
THANKYOU! The error does not help one research the right fix!
I was running powershell commands, checking IIS logs only to find an administrator account in the endpoint settings which gets changed yearly was changed recently