Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Autodiscover and Activesync

Posted on 2014-11-08
6
168 Views
Last Modified: 2014-11-13
Hello everyone

Our environment is using Exchange 2010 SP3. We are looking at a solution that utilises Exchange Activesync.

Our Activesync URL is activesync.mydomain.com

I was interested in understanding how this works with Autodiscover.

1. How can I confirm what a user's Activesync URL is using the Exchange Management Shell

2.  Is the Activesync URL a value that is queried when using Autodiscover

3. Using/ simulating Autodiscover, is there a way to ascertain a user's Activesync URL
0
Comment
Question by:LGriffin19
6 Comments
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40430712
I suggest you try www.testexchangeconnectivity.com and perform required tests.  It will show you all the tests and results.
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40430736
I think you have this a bit mixed up. There is no need to set up a separate DNS record for ActiveSync, you use the same address that you use for OWA, i.e. mail.company.com

There is no separate ActiveSync URL that's assigned to each user either, there is only the Microsoft-Server-ActiveSync URL which resides on your Exchange 2010 server. This is a virtual directory within IIS and can be accessible by going to https://mail.company.com/Microsoft-Server-ActiveSync

Do you currently have OWA working? If so you generally just use the same URL when you go to set up a mobile device.
0
 
LVL 19

Assisted Solution

by:Adam Farage
Adam Farage earned 100 total points
ID: 40430856
The ActiveSync URL is set by the ExternalURL on the ActiveSync Virtual Directory, which can be found with the following command:

Get-ClientAccessServer | Get-ActiveSyncVirtualDirectory | Select Identity, ExternalURL

Open in new window


When a device that can understand Exchange ActiveSync autodiscover is queried, it pulls the Exchange ActiveSync ExternalURL. If you want to figure out what is being pulled I would recommend two things:

1) Check the virtual directory (see above)
2) Check out the testexchangeconnectivity.com website
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:LGriffin19
ID: 40431083
Hi everyone

Ok, so if we had different Activesync URL's on different servers (e.g. Exchange 2007 and 2010), how would we know which one was applicable for particular users? Are you saying the Activesync URL is not returned via Autodiscover - if so what is the process to find it?
0
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 400 total points
ID: 40431352
The value returned to the user by Autodiscover is completely dependant on where their mailbox is located.
Therefore if you have a coexistence environment then the URL returned will be the one set on Exchange 2007 if that is where their mailbox is located, and Exchange 2010 if located there.

HOWEVER it is possible to proxy ActiveSync, so all traffic for ActiveSync goes through a higher version of Exchange. If you remove the external URL from the ActiveSync virtual directory on Exchange 2007 then Exchange 2010 should proxy it through.

The other major gotcha on Autodiscover and ActiveSync is that for many devices it simply doesn't work.
ActiveSync Autodiscover is part of the protocol which Microsoft licence to the vendors. How they implement it is up to them. In most deployments I do I have to tell clients that Autodiscover doesn't work for ActiveSync.

"There is no need to set up a separate DNS record for ActiveSync, you use the same address that you use for OWA, i.e. mail.company.com"

While there is no need to, many companies will, so that they can easily trace the ActiveSync traffic in the logs.

Simon.
0
 
LVL 9

Expert Comment

by:ash007
ID: 40432394
Hi,

If you are using different Url for Active sync then:
1.Need to have url entry in SAN field of certificate
2.Need to change external url to Activesync.domain.com

Thanks,
Ash
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question