Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ImapSync to Exchange 2016 (authuser2) #136
Having issues authenticating to Exchange 2016 with authuser2. Here is my syntax:
.\imapsync.exe --host1 firstname.lastname@example.org --user1 email@example.com --password1 ****** ^
Here is what I have done/tried:
Everything works great if I sync with the test users password (not using authuser2).
No one reported me that authenticate on 2016 with --authuser2 works. Try the other syntax.
Maybe the Office365 item can help:
I can confirm that this does work with exchange 2016 - the key is to not use the built-in Administrator account which Microsoft seems to have blocked access to in imap. I'm doing a zimbra->exch2016 migration and this works:
root@ubuntu:~# imapsync --host1 zimbra -port1 993 --user1 firstname.lastname@example.org --authuser1 admin --password1 'adminpw' --ssl1 -host2 exch2016 -port2 993 --user2 email@example.com --authuser2 firstname.lastname@example.org --password2 'accountwfullaccesspw' --ssl2
The admin account you use needs to have full access to the account(s) you want to sync which you can setup in the gui or via powershell and again - don't use email@example.com - as that will never work because IMAP LOGIN is disabled for that account apparently under all circumstances.