Migrate to Office 365 - ‎'Invalid credentials‎(Failure)‎‎'

Migrate to Office 365 - ‎'Invalid credentials‎(Failure)‎‎'

Hi,

I am trying to use the o365 IMAP migration tool to migrate one of our companies from Zoho Mail to Office 365 but it keeps on failing with the following error message:

Error: MigrationPermanentException: The username or password for this account is incorrect. --> The username or password for this account is incorrect. --> Imap server reported an error during AuthenticateCommand indicating that authentication failed: ‎'Invalid credentials‎(Failure)‎‎'.

TFA is not turned on the credentials are definately correct.  I have also turned on TFA and tried the application specific password but it's still not working.  Please advise.

Regards,
Christo