I have a frustrating problem that I have wrestled with for hours.
In my company we have recently signed up for Office 365 and I'm working on migrating our mail accounts.
To make sure I would be able to setup an Exchange account in Outlook I changed my own Office 365 to have a primary account with a different email than normal. Everything worked nicely. The account was added to Outlook and I could send and receive emails.
When I reverted to my real primary email address on Office 365, which is on a different domain, and removed the exchange account from Outlook, I would not be able to add the exchange account with the new username and password.
What happens is this:
- I enter my credentials in order to add the account.
- I will get a popup asking for my password.
- If I enter the wrong password, it will let me know.
- If I enter the right password, the popup disappears, but will reappear after a short while, and ask for the same password again.
- No matter how many times I enter this password, it doesn't work.
Have tried a lot of stuff to make it work:
- My personal microsoft account used the same primary email as my office 365 account. Reading that this could be a problem, I changed the primary email from my microsoft account to a completely different domain. But without any luck...
- I have repaired Office 365 both using the quick method and the online method.
- I have completely uninstalled and reinstalled Office 365
- I have used Microsoft Support- og recoveryassistant for Office 365 to no avail
- When I test the automatic configuration of emails, it fails for my account.
I get an GetLastError=0, httpStatus=401
- If I use the Windows 10 Mail application, the account is added without any issues.
- Outlook for Android gets configured without any problem.
Therefore I can conclude it is clearly a local outlook problem.
I can't figure out why Outlook has this authentication problem. As it doesn't help to reinstall Outlook, could it indicate some setting in the registry that is remembered by windows?