SOLVED

Outlook 365 Outlook Install Does Not See Local Exchange Account

%3CLINGO-SUB%20id%3D%22lingo-sub-320424%22%20slang%3D%22en-US%22%3EOutlook%20365%20Outlook%20Install%20Does%20Not%20See%20Local%20Exchange%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-320424%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20beginning%20our%20Office%20365%20deployment%20to%20the%20desktops%20and%20will%20migrate%20to%20the%20hosted%20exchange%20model%20after%20we've%20deployed%20the%20software.%20But%20we've%20run%20into%20one%20caveat.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20we%20install%20Office%20365%20on%20machines%20that%20have%20had%20a%20previous%20version%20of%20Office%20installed%2C%20and%20an%20account%20configured%20in%20Outlook%2C%20the%20Office%20365%20sees%20that%20and%20properly%20configures%20Outlook%20to%20point%20to%20our%20local%20exchange%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20we%20install%20Office%20365%20on%20a%20new%20machine%20that%20did%20NOT%20have%20a%20previous%20user%20profile%2FOutlook%20configured%2C%20it%20automatically%20configures%20the%20user%20account%20to%20point%20to%20the%20outlook.office.com%20hosted%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20do%20I%20need%20to%20do%20to%20allow%20me%20to%20properly%20configure%20the%20user%20account%20to%20point%20to%20our%20local%20exchange%20server%20until%20that%20point%20in%20time%20when%20we%20want%20to%20migrate%20to%20the%20hosted%20exchange%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-320424%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-325571%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20365%20Outlook%20Install%20Does%20Not%20See%20Local%20Exchange%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-325571%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Vasil%2C%20thanks%20for%20that%20link.%20Doing%20a%20little%20more%20digging%20and%20this%20one%20specific%20entry%20resolved%20this%20for%20us%20as%20Chris%20was%20eluding%20to.%3CBR%20%2F%3E%3CBR%20%2F%3EHKEY_CURRENT_USER%5CSOFTWARE%5CPolicies%5CMicrosoft%5Coffice%5C16.0%5Coutlook%5Cautodiscover%3CBR%20%2F%3EDWORD%3A%20ExcludeExplicitO365Endpoint%3CBR%20%2F%3EValue%20%3D%201%3CBR%20%2F%3E%3CBR%20%2F%3EEventually%20finding%20that%20quick%20answer%20here%20as%20well%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.gothamweb.com%2Fportal%2Findex.php%2Fknowledgebase%2F8%2FOutlook-bypasses-AutoDiscover-and-connects-directly-to-Office-365-mailbox.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.gothamweb.com%2Fportal%2Findex.php%2Fknowledgebase%2F8%2FOutlook-bypasses-AutoDiscover-and-connects-directly-to-Office-365-mailbox.html%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'd%20also%20like%20to%20add%20that%20the%20addition%20of%20this%20one%20reg%20key%20was%20enough%20to%20resolve%20our%20issue.%20We%20didn't%20need%20to%20modify%20autodiscover.xml%20or%20the%20AutoD.user.xml%20after%20adding%20that.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThank%20you%20Vasil%20and%20Chris!%20Much%20appreciated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321162%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20365%20Outlook%20Install%20Does%20Not%20See%20Local%20Exchange%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321162%22%20slang%3D%22en-US%22%3EAh%20ok.%20Vasil%20-%20do%20you%20know%20when%20this%20change%20came%20in%3F%20Was%20it%20recent%3F%20Since%20moving%20to%20the%20role%20I%E2%80%99m%20in%20I%20don%E2%80%99t%20manage%20migrations%20on%20a%20day%20to%20day%20basis%20anymore%20and%20in%20the%20later%20days%20these%20were%20typically%20to%20365%20as%20opposed%20to%20configuration%20back%20to%20local%20exchange%20so%20this%20scenario%20didn%E2%80%99t%20apply.%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20that%20case%20it%E2%80%99ll%20would%20then%20be%20purging%20the%20existing%20profile%20and%20either%20adding%20an%20Autodiscover%20XML%20to%20the%20local%20machine%20modifying%20the%20registry%20settings%20or%20modifying%20the%20registry%20directly%20specifically%3CBR%20%2F%3E%3CBR%20%2F%3EExcludeExplicitO365Endpoint%20DWORD%20%3D1%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321158%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20365%20Outlook%20Install%20Does%20Not%20See%20Local%20Exchange%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321158%22%20slang%3D%22en-US%22%3E%3CP%3EI%20wouldn't%20advise%20manual%20config%2C%20as%20while%20it's%20still%20technically%20possible%2C%20it%20hasn't%20been%20%22supported%22%20for%20a%20while.%20I%20do%20think%20I%20have%20an%20idea%20of%20what's%20causing%20the%20issue%20though%20-%20the%20new%20%22Check%20for%20Office%20365%20as%20priority%22%20step%20in%20the%20autodiscover%20process%2C%20which%20fires%20even%20before%20the%20SCP%20lookup%20does.%20The%20bad%20news%20is%20that%20the%20only%20way%20to%20disable%20this%20step%20is%20via%20registry%20changes%3A%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3211279%2Foutlook-2016-implementation-of-autodiscover%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3211279%2Foutlook-2016-implementation-of-autodiscover%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321102%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20365%20Outlook%20Install%20Does%20Not%20See%20Local%20Exchange%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321102%22%20slang%3D%22en-US%22%3EHmm%2C%20there%20isn%E2%80%99t%20much%20if%20it%E2%80%99s%20already%20setup.%20Both%20registry%20changes%20and%20host%20files%20need%20to%20be%20done%20before%20the%20setup%20of%20the%20profile%20itself.%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20could%20possibly%20try%20to%20put%20the%20host%20file%20on%20and%20then%20try%20to%20setup%20a%20second%20profile.%20Outlook%20from%202010%20has%20allowed%20multiple%20MAPI%20mailboxes.%20If%20that%20works%20then%20purge%20the%20other%20profile%20connecting%20to%20365.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321099%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20365%20Outlook%20Install%20Does%20Not%20See%20Local%20Exchange%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321099%22%20slang%3D%22en-US%22%3EI%20had%20not%20tried%20the%20Hosts%20file.%20But%20that%20would%20need%20to%20be%20in%20place%20prior%20to%20the%20install.%20I%20will%20try%20that%20with%20any%20new%20installs.%20What%20can%20be%20done%20post%20install%20to%20remedy%20this%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321095%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20365%20Outlook%20Install%20Does%20Not%20See%20Local%20Exchange%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321095%22%20slang%3D%22en-US%22%3EHmm.%20Registry%20changes%20are%20often%20used%20in%20coexistence%20to%20force%20the%20client%20to%20connect%20to%20the%20destination.%20I%20used%20to%20do%20this%20when%20moving%20from%20Multi%20Tenant%20Hosted%20to%20365.%3CBR%20%2F%3E%3CBR%20%2F%3EThere%20is%20something%20less%20invasive%20that%20the%20registry.%20Have%20you%20tried%20the%20Hosts%20file%20of%20the%20local%20machine%20and%20putting%20Autodiscover%20for%20your%20Exchange%20server%20on%20that%3F%20Once%20you%20add%20it%20you%20should%20be%20able%20to%20use%20the%20CMD%20prompt%20to%20see%20if%20it%20takes.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321083%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20365%20Outlook%20Install%20Does%20Not%20See%20Local%20Exchange%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321083%22%20slang%3D%22en-US%22%3E%3CP%3EHI%20Chris%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EApologies%20for%20the%20delay.%20I've%20attempted%20to%20setup%20the%20profile%20manually.%20Each%20time%20I%20try%20this%20and%20enter%20the%20account%2Femail%20address%20it%20then%20takes%20over%20and%20doesn't%20allow%20me%20to%20manually%20add%20the%20server.%3C%2FP%3E%3CP%3EMaybe%20this%20is%20the%20norm%20but%20my%20user%20accounts%20in%20O365%20are%20their%20email%20addresses.%20And%20the%20email%20address%20is%20the%20same%20ID%20I%20put%20in%20to%20configure%20their%20Outlook.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20once%20O365%20is%20installed%20and%20configured%20with%20the%20O365%20account%20I%20attempt%20to%20modify%20the%20account%20that%20was%20created.%20I've%20been%20hesitant%20to%20completely%20remove%20the%20account%20due%20to%20the%20fact%20that%20Skype%2C%20OneNote%20%26amp%3B%20OneDrive%20all%20work%20as%20anticipated.%20And%20Skype%20works%20with%20our%20on%20premise%20Skype%20server.%20It's%20just%20the%20Outlook%20that%20drives%20the%20connection%20to%20the%20hosted%20exchange%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20O365%20Outlook%20account%20for%20a%20user%2C%20that%20points%20to%20the%20hosted%20exchange%2C%20points%20to%20outlook.office365.com.%20A%20user%20account%20that%20points%20to%20my%20local%20server%20points%20to%20my%20domain.%20I%20searched%20through%20the%20registry%20between%202%20different%20computers%2C%20one%20presenting%20the%20O365%20issue%20and%20one%20that%20works%20as%20intended%2C%20and%20found%20many%20entries%20that%20referenced%20the%20outlook.office365.com.%20I%20compared%20the%20registry%20entries%20but%20was%20not%20able%20to%20come%20to%20a%20definitive%20conclusion%20that%20would%20resolve%20my%20issue.%26nbsp%3B%20As%20mentioned%2C%20there%20are%20many%20entries%20in%20the%20registry%20I%20could%20modify%20and%20attempt%20to%20resolve%20this%20by%20trial%20and%20error.%20But%20I'd%20rather%20not%20take%20that%20approach.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-320466%22%20slang%3D%22en-US%22%3ERe%3A%20Outlook%20365%20Outlook%20Install%20Does%20Not%20See%20Local%20Exchange%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-320466%22%20slang%3D%22en-US%22%3ECan%20you%20setup%20the%20Outlook%20profile%20manually%3F%3CBR%20%2F%3E%3CBR%20%2F%3ESee%20this%20process%20for%20example%20-%20just%20use%20your%20Exchange%20server%20name%20and%20credentials%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Foit.colorado.edu%2Ftutorial%2Foffice-365-outlook-windows-manual-exchange-configuration%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foit.colorado.edu%2Ftutorial%2Foffice-365-outlook-windows-manual-exchange-configuration%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Just beginning our Office 365 deployment to the desktops and will migrate to the hosted exchange model after we've deployed the software. But we've run into one caveat.

 

If we install Office 365 on machines that have had a previous version of Office installed, and an account configured in Outlook, the Office 365 sees that and properly configures Outlook to point to our local exchange server.

 

If we install Office 365 on a new machine that did NOT have a previous user profile/Outlook configured, it automatically configures the user account to point to the outlook.office.com hosted server.

 

What do I need to do to allow me to properly configure the user account to point to our local exchange server until that point in time when we want to migrate to the hosted exchange?

8 Replies
Highlighted
Can you setup the Outlook profile manually?

See this process for example - just use your Exchange server name and credentials

https://oit.colorado.edu/tutorial/office-365-outlook-windows-manual-exchange-configuration

Best, Chris
Highlighted

HI Chris,

 

Apologies for the delay. I've attempted to setup the profile manually. Each time I try this and enter the account/email address it then takes over and doesn't allow me to manually add the server.

Maybe this is the norm but my user accounts in O365 are their email addresses. And the email address is the same ID I put in to configure their Outlook.

 

So once O365 is installed and configured with the O365 account I attempt to modify the account that was created. I've been hesitant to completely remove the account due to the fact that Skype, OneNote & OneDrive all work as anticipated. And Skype works with our on premise Skype server. It's just the Outlook that drives the connection to the hosted exchange server.

 

The O365 Outlook account for a user, that points to the hosted exchange, points to outlook.office365.com. A user account that points to my local server points to my domain. I searched through the registry between 2 different computers, one presenting the O365 issue and one that works as intended, and found many entries that referenced the outlook.office365.com. I compared the registry entries but was not able to come to a definitive conclusion that would resolve my issue.  As mentioned, there are many entries in the registry I could modify and attempt to resolve this by trial and error. But I'd rather not take that approach.

Highlighted
Hmm. Registry changes are often used in coexistence to force the client to connect to the destination. I used to do this when moving from Multi Tenant Hosted to 365.

There is something less invasive that the registry. Have you tried the Hosts file of the local machine and putting Autodiscover for your Exchange server on that? Once you add it you should be able to use the CMD prompt to see if it takes.

Best, Chris
Highlighted
I had not tried the Hosts file. But that would need to be in place prior to the install. I will try that with any new installs. What can be done post install to remedy this?
Highlighted
Hmm, there isn’t much if it’s already setup. Both registry changes and host files need to be done before the setup of the profile itself.

You could possibly try to put the host file on and then try to setup a second profile. Outlook from 2010 has allowed multiple MAPI mailboxes. If that works then purge the other profile connecting to 365.

Best, Chris
Highlighted
Best Response confirmed by drawson (Contributor)
Solution

I wouldn't advise manual config, as while it's still technically possible, it hasn't been "supported" for a while. I do think I have an idea of what's causing the issue though - the new "Check for Office 365 as priority" step in the autodiscover process, which fires even before the SCP lookup does. The bad news is that the only way to disable this step is via registry changes: https://support.microsoft.com/en-us/help/3211279/outlook-2016-implementation-of-autodiscover

Highlighted
Ah ok. Vasil - do you know when this change came in? Was it recent? Since moving to the role I’m in I don’t manage migrations on a day to day basis anymore and in the later days these were typically to 365 as opposed to configuration back to local exchange so this scenario didn’t apply.

In that case it’ll would then be purging the existing profile and either adding an Autodiscover XML to the local machine modifying the registry settings or modifying the registry directly specifically

ExcludeExplicitO365Endpoint DWORD =1

Best, Chris
Highlighted

Hey Vasil, thanks for that link. Doing a little more digging and this one specific entry resolved this for us as Chris was eluding to.

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\office\16.0\outlook\autodiscover
DWORD: ExcludeExplicitO365Endpoint
Value = 1

Eventually finding that quick answer here as well: https://www.gothamweb.com/portal/index.php/knowledgebase/8/Outlook-bypasses-AutoDiscover-and-connect...

 

I'd also like to add that the addition of this one reg key was enough to resolve our issue. We didn't need to modify autodiscover.xml or the AutoD.user.xml after adding that.


Thank you Vasil and Chris! Much appreciated.