iPhone / autodiscover problem (Full Version)

All Forums >> [Microsoft Exchange 2010] >> Mobility


rcarsey -> iPhone / autodiscover problem (8.Feb.2011 6:10:06 PM)

Seems like this is a big problem for many people.. We've just migrated from 2007 to 2010. autodiscover DNS record points to the new 2010 CAS. As far as I can tell, the XML file returned by autodiscover is fine if I'm using Outlook.. it has all the URLs and information i'd expect.

Problem is when I use an iPad (v4.2.1). I enter my email addr, domain, username and password. It contacts the autodiscover server. However, the server sends back the following XML data: (i captured this using wireshark and the SSL decrypting plugin) (striped except for the important part):

No external URL is available to access this mailbox with Exchange ActiveSync. Your Exchange server configuration needs to be adjusted to allow access.

Seems obvious, but Get-ActiveSyncVirtualDirectory shows that i have URLs set for both external and interal (https://wlb-exca-01.monmouth.edu/Microsoft-Server-ActiveSync).

On the iPad, I can type in the server's hostname (wlb-exca-01.monmouth.edu) and the iPad works fine.. so I think its an autodiscover problem.. not really a Mailbox or CAS problem.

travis.sheldon -> RE: iPhone / autodiscover problem (22.Feb.2011 11:09:31 AM)

Have you tried to reset the Active Sync Virtual Directory and the Autodiscover Virtual Directory? http://technet.microsoft.com/en-us/library/ff629372.aspx

rcarsey -> RE: iPhone / autodiscover problem (23.Feb.2011 3:29:16 PM)

Yeah.. I've deleted the ActiveSync Virtual Directory and the Autodiscover Virtual Directory .. and re-created them.

I've actually opened a support call with MS (#111-021-678-393-629) and have been on the phone with them for 3-4 hours per day for 3 days now. At this point, I feel like this will never get resolved... I'll re-post if there are any developments.

travis.sheldon -> RE: iPhone / autodiscover problem (23.Feb.2011 4:33:41 PM)

What happens when you try to browse


from the iPad after authenticating? Are you using 3g or wifi? if wifi, is there a proxy server involved?

jmcdonagh -> RE: iPhone / autodiscover problem (6.Jan.2012 8:35:14 PM)

was this problem ever solved. I am having the exact same problem

zpetersen -> RE: iPhone / autodiscover problem (15.Jan.2012 2:47:00 PM)

Im having what seems to be the same issue. Its interesting that in my case Autodiscover works with Outlook but not with ActiveSync. Activesync itself also works fine when you specify the server info manually.

WHen running the Test-ActiveSyncConnectivity cmdlet I get the following return:


UserName : testuser02
StartTime : 1/15/2012 11:41:48 AM
Latency : 00:00:00.0312516
EventType : Error
LatencyInMillisecondsString :
Identity :
IsValid : True

RunspaceId : 2e5834c8-7f08-4b71-b36a-ebea19b829b6
LocalSite :
SecureAccess : True
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 0
ConnectionType : Plaintext
ClientAccessServerShortName : Autodiscover
LocalSiteShortName :
ClientAccessServer : Autodiscover.contoso.com
Scenario : Autodiscover Client Access server
ScenarioDescription : An attempt was made to contact Autodiscover server Autodiscover.contoso.com from (testuser
02@contoso.com) for Client Access server information using NTLM for authentication.
PerformanceCounterName :
Result : Failure
Error : No valid URI could be found in server node in Autodiscover result /ad:Autodiscover/ms:Res

<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/20
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/mobilesync/response
<DisplayName>contoso Test 2</DisplayName>
<Message>No external URL is available to access this mailbox with Exchange Active
Sync. Your Exchange server configuration needs to be adjusted to allow access.</Message>

Use the Set-ActiveSyncVirtualDirectory task to configure the ExternalURL.

With Diag logging turned up to expert on ActiveSYnc and Autodiscover I get the following event:


Log Name: Application
Source: MSExchange Autodiscover
Date: 1/13/2012 5:37:15 PM
Event ID: 1201
Task Category: Provider
Level: Warning
Keywords: Classic
User: N/A
Computer: CAS02.contoso.com
Time:17:37:13.5068820, Id:3107295499, Error Response with the ErrCode:"1", Message:"No external URL is available to access this mailbox with Exchange ActiveSync. Your Exchange server configuration needs to be adjusted to allow access.", DebugData:"UserMailbox" was generated for EMailAddress:"contoso.service@contoso.com", LegacyDN:"" by "Microsoft.Exchange.Autodiscover.Providers.MobileSync.MobileSyncProvider, Microsoft.Exchange.Autodiscover, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35".

I have verified over and over again that the URL's are configured in the Virtual Directories and I can see them if I go into the schema. I have reset the activesync and autodiscover virtual directories and reconfigured them. Trying to figure out where exactly it is trying to read these URLs from and then I might be able to look at any possible permissions issues.

arthisoftseo -> RE: iPhone / autodiscover problem (17.Jan.2012 7:10:13 AM)

Hi, I have also face this kind of problem...but right now i have the solution for this..

Thanks for Talk

Page: [1]