I have been migrating many clients over to Office 365 lately. Every so often Outlook will have a problem making the initial connection.
Microsoft has created a nice tool that can fix many of the issues.
It’s worth a shot. The free download is available at this link
ITFixed it for me many times so far.