question

GudakeshSharma-1301 avatar image
0 Votes"
GudakeshSharma-1301 asked ·

Exchange 2016 - Outlook inside company network CANT connect without Internet connection.

Outlook inside company network (Intranet) can not load or connect to exchange 2016 automatically without aan internet connection. Both my lab exchange 2016 server and lab PC with outlook 2013 are on same network but without Internet it does not connect to exchange. When i turn Internet ON then it works. AutodiscoverServiceInternalURI for my CAS service is - https://autodiscover.domain.com/autodiscover/autodiscover.xml. I have also checked with https://serverfqdn/autodiscover/autodiscover.xml AutodiscoverServiceInternalURI is responsible for connecting within Intranet, correct ? What am i missing here ?

office-exchange-server-administration
· 3
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What is set for the MAPI HTTPS virtual directory URLs ( I assume you are using MAPI HTTPS)

https://docs.microsoft.com/en-us/exchange/clients/mapi-over-http/configure-mapi-over-http?view=exchserver-2019



0 Votes 0 ·

Since its an Exchange 2016, MapiHttp is enabled at org level and mailbox level as well.
MapiHttps virtual directory Internally is set to : https://serverfqdn/mapi And External is $null

Authentication is On for all (NTLM, Basic, Windows Kerb, OAuth, Negotiate)

Test-outlookconnectivity command also results positive but still outlook can not make connection without internet.

0 Votes 0 ·

For Outlook 2013 --
When I remove the default gateway and change the default gateway to be my DNS\DC server on the PC, outlook works internally without internet as well.

After that when I remove the default gateway completely from the PC and leave it blank , outlook can connect to the exchange server internally as well.

Just need to understand whats happening here ? why does it started working internally when i used my DC\DNS as the gateway and then removed it as well , and it does not work with the default gateway which is what i have for internet?

For Outlook 2010 --
When I remove the default gateway and change the default gateway to be my DNS\DC server on the PC, outlook works internally without internet as well. Outlook 2010 does not work with NO default gateway on the PC

0 Votes 0 ·

1 Answer

EricYin-MSFT avatar image
0 Votes"
EricYin-MSFT answered ·

Hi,
Which URL is set for AutodiscoverServiceInternalURI actually?
When you turn Internet OFF, pressing CTRL and right-click Outlook icon, select Test Email Autoconfiguration, typing the account and password, a normal test looks like:77047-3.png




If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



3.png (9.5 KiB)
· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AutodiscoverServiceInternalUri is - https://webmail.company.com/autodiscover/autodiscover.xml

Given that I have multiple 2016 Servers in my Lab, if autodiscover fails to this url then it should ideally connect to another server from SCP list since I am only trying to connect internally without internet connection.

Kindly suggest

0 Votes 0 ·
EricYin-MSFT avatar image EricYin-MSFT GudakeshSharma-1301 ·

There's not any SCP list:
A Service-Connection-Point (SCP) object is created in Active Directory. The object contains a URL to the AutoDiscover service. This is for intranet clients so they do not have to use DNS to locate the AutoDiscover service.
Use adsi.edit to check:
DC=<domain>, CN=Configuration, CN=Services, CN=Microsoft Exchange, CN=First Organization, CN=Administrative Groups, CN=Exchange Administrative Group, CN=Servers, CN=<CAS Name>, CN=Protocols, CN=AutoDiscover, CN=<CAS Name>
Have a test in EXRCA with your Internet closed: https://testconnectivity.microsoft.com/tests/Ola/input

0 Votes 0 ·