Autodiscover with Active Directory SCP & Office365
You have an environment with multiple domains on exchange 2010 server using Microsoft windows server product.
Scenario:
Domain A.com
Domain B.com
Domain C.com
Domain D.com
- Domain A.com was migrated to office365
- with specific user objects in Domain A organization
- Exchange server still remains in customer environment
- User cannot setup outlook due to autodiscover is still pointed to exchange 2010
- Change dns container for Domain A.com and also host file on user machine to point to autodiscover.outlook.com but still no luck
- when setting up outlook the user still retrieve exchange settings from exchange in house.
- Remote user can access and setup outlook just fine with no problem because their machine is not talking or communicating to internal AD
How do we solve this ?
Customer have 10,000 users and need this fix ASAP.
Here is the SOLUTION:
<MANUAL PROCESS>
Navigated to the location in the registry editor in usr machine to do this manually :
HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Outlook\AutoDiscover
Note: x.0 in the above registry path corresponds to the Outlook version (16.0 = Outlook 2016, 15.0 = Outlook 2013, 14.0 = Outlook 2010, 12.0 = Outlook 2007).
- Created a DWORD with value 1 and name ‘ExcludeSCPLookup’
- Restarted the machine and configured the Outlook profile.
- Ran ‘Test Email AutoConfiguration’ wizard and found Outlook is connected to the Office 365 user mailbox.
<MANUAL PROCESS BUT FASTER>
- Download this zip file attached and run all 4 bat files per user machine and then restart
- Ran ‘Test Email AutoConfiguration’ wizard and found Outlook is connected to the Office 365 user mailbox.
<GROUP POLICY PROCESS>
- Download this zip file attached
- Create a GPO and add the files and point it to the users or machine when logged in or logged off.
- Createa GPO to log off the use instead of restarting the machine
- Ran ‘Test Email AutoConfiguration’ wizard and found Outlook is connected to the Office 365 user mailbox.
All Done !
ENJOY :)