question

navidTalesh-4520 avatar image
0 Votes"
navidTalesh-4520 asked AlexC-8264 commented

Difficulty communicating exchanges with Outlook from outside the domain

Hello
I launched Exchange 2016 for the company.
The problem I have now is that computers that are in the domain can easily connect to Exchange via Outlook, but computers that are in the network but are not domain domains can not be connected to their account with Outlook.
The same problem exists for mobile devices.
On the other hand, I gave Exchange a policy to send emails with the name of another domain I have on the Internet.
Thank you very much for guiding me to resolve this issue
Thanks

office-exchange-server-connectivity
· 2
5 |1600 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.

Thanks friends, my problem was solved with your help.

1 Vote 1 ·

Please to be of help! :)

0 Votes 0 ·
AlexC-8264 avatar image
1 Vote"
AlexC-8264 answered navidTalesh-4520 commented

Hi navidTalesh,
sounds to me that your domain-joined computers, and logged on domain users, correctly receive their Service Connection Point (SCP) for Exchange from the lookup inside your domain.
On the other hand, non domain-joined computers rely on autodiscover, so Outlook searches for the autodiscover record of the mail domain. So does the ActiveSync protocol too.
Having set your new Exchange 2016 server to use another domain as default, which is basically hosted somewhere else, results in clients receiving autodicover/autoconfiguration from/for the other system, not Exchange 2016.

You would need to change the autodiscover record to point to your Exchange 2016 server for clients being able to connect to it.
Don't forget to configureyour firewall and/or proxy.

I hope this helps a little bit and brings you further.
Cheers,
Alex

· 1
5 |1600 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.

Thank you Alex.

0 Votes 0 ·
KaelYao-MSFT avatar image
0 Votes"
KaelYao-MSFT answered navidTalesh-4520 commented

Hi, @navidTalesh-4520

Agree with Alex, if the device is domain-joined, Outlook will first search for SCP(Service Connection Point) object in Active Directory.

When Outlook client attempts to autodiscover, it will follow this order:
1) URL defined in SCP (Service Connection Point) in On-premises Active Directory. (If the device is not domain-joined, this process will fail and Outlook will move on to try step 2)
2) https://<SMTP-address-domain>/autodiscover/autodiscover.xml
3) https://autodisocver.<SMTP-address-domain>/autodiscover/autodiscover.xml
4) <SMTP-address-domain> defined in Local XML
5) http://autodisocver.<SMTP-address-domain>/autodiscover/autodiscover.xml
6) _Autodiscover._tcp. <SMTP-address-domain> (SRV Record)

If all these steps fail, Outlook will not be able to use Autodiscover to connect to Exchange server.


To resolve the issue, you may need to setup a CNAME or an A record of autodisocver.<SMTP-address-domain> on your internal DNS server to point to your Exchange server.
If you would like to also allow clients to connect from external network, you may need to setup the DNS records in public DNS.
86638-29.png


If the response 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.


29.png (10.9 KiB)
· 1
5 |1600 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.

Thank you KaelYao-MSFT.

0 Votes 0 ·