Solved

Autodiscover and Activesync

Posted on 2014-11-08
6
174 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
[X]
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
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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

624 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