Office 365 on RDSH

New Contributor

No idea if this is the correct group or not....

I am working on deploying VDI and want Office to be part of that.    First few times (in testing) office products worked great, including Outlook.    But now, for reasons I have no idea.....Outlook has taken upon itself to connect to instead of using autodiscover (we host our own exchange on prem.)    in the configuration.xml file used to install on teh RD server, there is no mention on what to connect to.
our office version is "Office 365 Enterprise E3"


Anybody have any ideas, or know what forum i need to ask in??

2 Replies

That's probably just the "Check for Office 365 as priority" "feature", that's known to cause issues. You will have to deploy the reg keys mentioned in this article in order to disable it:

best response confirmed by JOHNFLI (New Contributor)

ok, without having to sort through the foggy microsoft page and figure out what the heck they are saying, here is the FIX.

Create a text file with an .reg extention.

paste the following into it:


Windows Registry Editor Version 5.00



then on the machine in question, right click on the above file and select 'merge'.

run outlook and it will look at your local autodiscover file.




in gpo:

edit or create a GPO and do the following:

expand 'user config' / 'Preferences' / 'Windows Settings' 

Right click on 'Registry', then 'New', then 'Registry Item'

for 'action' select 'Create'

for Hive, select 'HKEY_CURRENT_USER'

key path enter in:    Software\Microsoft\Office\16.0\Outlook\AutoDiscover

Value Name:   ExcludeExplicitO365Endpoint

Value Type:  REG_DWORD

Value date:  1