question

RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 asked KaelYao-MSFT commented

Outlook mobile app connectivity in same netowrk for Internal Exchange server 2019

Hi I have deployed exchange server 2019 in my environment. Exchange web app and outlook client for windows is able to login internally without internet requirement. I have also login exchange user on Gmail app and won Windows email client. I am unable to login on android outlook app.
error"the connection to your email server is timed out. Please check your email setting"

office-exchange-server-administrationoffice-outlook-itprooffice-exchange-server-connectivity
· 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.

KaelYao-MSFT avatar image
0 Votes"
KaelYao-MSFT answered KaelYao-MSFT edited

Hi @RAINADEEM-5620

Did you mean you cannot setup Exchange mailbox on mobile devices in internal network?
If yes, have you added an A or CNAME record on your internal DNS server to point autodiscover.domain.com to your Exchange server?

Example:
A record: autodiscover.domain.com > <internal ip address of Exchange server>


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.

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.

RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 answered

Hi @KaelYao-MSFT we have added SRV record
service: _autodiscover
protocol:_tcp
port number: 443
Host: webmail.domain.com
priority: 0
Weight: 0

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.

RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 answered

Hi @KaelYao-MSFT can you please send me a reference document to add A record for exchange internal connectivity for mobile devices?

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.

RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 answered

I have run this command
nslookup -type=a autodiscover.domain.com
result screenshot is attached

181210-image.png



image.png (24.2 KiB)
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.

RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 answered KaelYao-MSFT commented

FYI, I am able to resolve https://webmail.domainl.com.pk/autodiscover/autodiscover.xml

It will prompt the below screen.

181296-image.png



image.png (13.4 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.

Hi,

I suppose a SRV record should also work.
Please follow the steps in this link to create a new activesync policy and apply it to a test mailbox: Troubleshoot ActiveSync with Exchange Server

Then run this cmdlet to test activesync using the credentials of the test mailbox on Exchange and see if it succeeds or returns error:

 Test-ActiveSyncConnectivity -MailboxCredential (Get-Credential)

0 Votes 0 ·
RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 answered RAINADEEM-5620 commented

Hi I have added the A record as you mentioned I am facing autodiscovery latency on this screenshot is attached

181414-1.png



1.png (12.4 KiB)
· 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.

Hi,
It seems you are running the cmdlet Test-OutlookWebServices.
While I suppose this cmdlet should only function in Exchange 2010.

What is the detailed error message of failure?

You may add fl to show detailed information:
Test-OutlookWebServices -Identity:holly@contoso.com -MailboxCredential (Get-Credential) | fl

0 Votes 0 ·

181823-3.png




Result of shared command

0 Votes 0 ·
3.png (92.4 KiB)
RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 answered KaelYao-MSFT commented

181875-2.png




Result of command is attached.


2.png (25.4 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.

These errors all point to the certificate.

Do you have a third-party certificate installed on your Exchange server containing the url webmail.domainl.com.pk?

0 Votes 0 ·
RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 answered KaelYao-MSFT commented

yes It is installed. If I access webmail.domain.com the connection is secure.

182212-5.png



5.png (26.1 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.

Have you configured the internal url of activesync virtual directory to be https://webmail.domain.com/Microsoft-Server-ActiveSync?
182773-44.png


0 Votes 0 ·
44.png (53.9 KiB)
RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 answered KaelYao-MSFT commented

No, It is required to add ?

secondly can you please clear me about outlook mobile app connectivity required exchange to be publish online or it will work fine internally without publishing?

· 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.

Yes. It is the url that clients use to connect to Exchange from internal.
By default it would be https://<server FQDN>/Microsoft-Server-ActiveSync.

secondly can you please clear me about outlook mobile app connectivity required exchange to be publish online or it will work fine internally without publishing?

If you don't need external access for mobile devices and only want to have it work in internal network, to me it is not necessary to publish Exchange to internet.

0 Votes 0 ·
RAINADEEM-5620 avatar image
0 Votes"
RAINADEEM-5620 answered KaelYao-MSFT commented

I have added activesync url still it is not working. I think we have to publish it online as you can see below link.

https://docs.microsoft.com/en-us/exchange/clients/outlook-for-ios-and-android/use-basic-auth?view=exchserver-2019

· 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.

Does the Exchange server have internet access?
Connectivity Requirements


0 Votes 0 ·

Hi,

I am writing here to confirm with you how thing going now?
Did the issue get resolved?

0 Votes 0 ·