TransWikia.com

Office 2016 Will Not Connect to Office 365

Server Fault Asked on December 22, 2021

I have recently performed three Exchange to Office 365 Migrations. In each I have had problems with Office 2016 not connecting to Autodiscover and thus Outlook won’t create the profile. In most cases I’ve used the Microsoft Support and Recovery Assistant to work around this. However, I need to determine what is causing this problem. It’s causing a lot of confusion, frustration, and probably hair loss. I’ve sunk a good 8 hours of troubleshooting, and so far I’ve had no luck. I’m hoping someone can help. Here’s what I’ve done:

  • I’ve tested that Autodiscover itself is healthy using TestConnectivity.microsoft.com and by adding profiles on my phone off the network.
  • I have tried to create a profile off the client’s network on my own machine.
  • I’ve tried creating a profile on the network on my own machine, and off the network on the client’s machine.
  • You get the picture, basically trying to rule out that a Domain level autodiscover issue is the problem, because that’s bit me in the but.
  • I’ve tried uninstalling Office using the uninstall tool provided my Microsoft and reinstalling Office.
  • I’ve tried created a new local Windows profile and creating the Outlook profile there.
  • I’ve tried using registry edits to ignore any and all of the various stages of Autodiscover.
  • I’ve created a non-AD synced user and tried with that profile to test it’s not a problem with the AD attributes coming over the sync.

I’m at a loss at what is causing Outlook to not connect to Office 365. I have three more migrations over the next couple months, so any suggestions y’all have would be appreciated.

2 Answers

Have you tested what lookups the Outlook client makes when it tries to connect?

You can ctrl + rightclick on the Outlook icon down in the task bar. This gives you the option to Test Email Autoconfiguration...

In the test disable Use Guessmart and Secure Guesssmart Authentication. Then enter the Email Address and the Password of the user and hit Test.

In the Log tab you will see all the lookups that autodiscover is trying to do in order to connect to Exchange.

This method will allow you to actually see what the client is attempting and not just secure that the DNS and such is correct.

Look at the log, see if there are any long timeouts and validate if it actually hits the right endpoint in the end or if it gets stuck somewhere.

Answered by Henrik Stanley Mortensen on December 22, 2021

Is it a hybrid environment? In a hybrid environment and during migration, the autodiscover record needs point to On-premise Exchange.

On domain-joined PC, try to configure On-premise Exchange mailbox on Outlook, it will SCP to query AD and find the connection settings. On non-domain-joined PC, try to configure On-premise Exchange mailbox on Outlook. It will use predefined autodiscover process to find the connection settings.

For mailbox in Office 365, autodiscover will do redirect by autodiscover-s.outlook.com and find the connection settings. Refer to: Office 365 Autodiscover Lookup Process

Thus, use ExRCA (switch to Office 365, test it with two mailboxes: one created in Office 365, the one migrated from On-premise) to test Outlook autodiscover.

Answered by Jianfei Wang on December 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP