Link to home
Start Free TrialLog in
Avatar of Joseph Moody
Joseph MoodyFlag for United States of America

asked on

Exchange account verification failed-IPhone

I am attempting to setup a mail account on my IPhone to our company's exchange server but I get Exchange account verification failed errors everytime. Our exchange server uses a custom cert so I loaded that in my phone and it is now listed under profiles. We are running exchange 2007.

One interesting note. Before I had my IPhone, I had a windows mobile device. I was never able to get it to sync email as well with our exchange server. However, BlackBerries in our network can get email through our BES.
Avatar of alexsaiz
alexsaiz
Flag of Spain image

Are you the Exchange admin in your Organization or a user trying to set up your Iphone? Is your company?

Exchange 2K7 has different roles and you need to check if the Client Access role was installed. This is what enables the mobile clients to work with exchange 2K7.
Are you using the iphone Configuratiion utility to configure the **.mobileconfig file and then export it to your iphone??
Avatar of Joseph Moody

ASKER

I am a lower tech setting it up but my boss is the exchange admin. I am not using the iphone configuration utility to configure my iphone.

How can I check to see if the Client Access role was installed?
You need to log on to the exchange server or to a server/PC where from where you can access Exchange Management Console. Expand Server configuration and select client access. It will show you the list of servers which have the client access role installed in your exchange organization.
Probably since your company already has a BES, they might not have installed Client access role.
Even if installed, it might have just been configured for Outlook Web Access and not for mobile devices. To be able to check emails using mobile devices, you need to configure Active Sync in the Exchange server client access role. You need to be an exchange admin to configure it.

You can edit the ActiveSync settings by navigating to the Client Access node under
Server Configuration in the console tree, choosing the ActiveSync
tab in the results pane, selecting the Microsoft-Server-ActiveSync entry, and clicking
the Properties link in the action pane.
I will get in touch with our exchange admin. Do you have a step-by-step guide on configuring this?
IForm what you have said your blackberries are syncing with BES so this is the same way that the iPhone is syncing (or trying to!)..
Can you confirm whether you are using a trusted SSL certificate..?
Also if you can try the "active sync" test @ http://www.testexchangeconnectivity.com
and post the results.. That way we can rule out any problems on the exchange server side...
I thought BES connected to exchange through MAPI and not through active-sync (I could be wrong though).

I got this error on the active sync test:

Testing Http Authentication Methods for URL https://mail.OURSERVERNAME.com/Microsoft-Server-Activesync/ 
  Http Authentication Test failed

The SSL cert was not trusted at first so I installed it by setting up a separate email account (yahoo) and emailing the cert that I took off our OWA page to it. I then installed it on the iphone.
The other three test in the Active-sync section passed though (DNS, port 443, and SSL)
Sorry my above post was a complete typo...!
I meant to say:
Form what you have said your blackberries are syncing with BES so this is the NOT same way that the iPhone is syncing (or trying to!)..
Can you post the transcript from testexchangeconnectivity.com active sync test...
alexsaiz: the client access role is installed on our mail server.
Yep. It is below.
 Attempting to Resolve the host name mail.mygcbe.com in DNS.
 Host successfully Resolved
Additional Details
 IP(s) returned: 168.11.62.40
 
Testing TCP Port 443 on host mail.mygcbe.com to ensure it is listening/open.
 The port was opened successfully.
 
Testing SSLCertificate for validity.
 The certificate passed all validation requirements.
Additional Details
 Subject: CN=mail.mygcbe.com, OU=Domain Control Validated - RapidSSL(R), OU=See www.rapidssl.com/resources/cps (c)08, OU=GT18742766, O=mail.mygcbe.com, C=US, Issuer CN=Equifax Secure Global eBusiness CA-1, O=Equifax Secure Inc., C=US
 
Testing Http Authentication Methods for URL https://mail.mygcbe.com/Microsoft-Server-Activesync/
 Http Authentication Test failed
Additional Details
 A Web Exception occured because an HTTP 404 - NotFound response was received from IIS6

Open in new window

Ok,
A couple of things.. I don't believe that the rapid SSL root is included in the iPhones trusted roots... This might cause you troubles later as although (est exchange connectivity trusts it the iPhone wont...
I have understood that you arent the exchange admin, unfortunately some of things that we need to test now require that you are...!
Get your exchange admin to read this guide http://www.riverbank.co.uk/home/support/knowledge-base/r1403 and confirm that the set up is the same...
Also are you using forms based authentication for OWA?

Even if Client Access role is installed, it might have just been configured for Outlook Web Access and not for mobile devices. To be able to check emails using mobile devices, you need to configure Active Sync in the Exchange server client access role. You need to be an exchange admin to configure it.

You can edit the ActiveSync settings by navigating to the Client Access node under
Server Configuration in the console tree, choosing the ActiveSync
tab in the results pane, selecting the Microsoft-Server-ActiveSync entry, and clicking
the Properties link in the action pane.

http://technet.microsoft.com/en-us/library/bb430770.aspx 
This is another URL that might help in configuring Active sync.
http://technet.microsoft.com/en-us/library/bb266938.aspx
JohnGerhardt: Do you have a guide that is designed for Exchange 2007? That one was a 2003 guide.

alexsaiz: Thank you for the links. I will start looking through those. What exactly needs to be configured for mobile devices?
You need to configure SSL Certificate using IIS Manager Console. There would be a certificate created by default during installation but that certificate uses the server name, rather than the Fully Qualified Domain Name (FQDN),If you have a certificate from a trusted third party, you should use that certificate, rather than creating a new self-signed certificate.

For OWA, this certificate can be installed on client machines by itself . But for Windows mobile or an iphone, you need to install the certificate manually on the device.

Exchange Server should have configured an Exchange ActiveSync mailbox
policy for you during installation. To verify that the policy exists, choose the
Organization Configuration\Client Access folder. You should see a Default
mailbox policy. If you do not, create a policy

You shall find a step by step procedure to configure it in the microsoft technet document that I provided earlier. It is very simple using the console. trust me on that.

I am not sure if this will help but I ran the autodiscover test as well. I read that if autodiscover is set up correctly, an iphone should be able to automatically configure itself. The results are pasted below.
 Attempting each method of contacting the AutoDiscover Service
 Failed to contact the AutoDiscover service successfully by any method
Test Steps
 Attempting to test potential AutoDiscover URL https://mygcbe.com/AutoDiscover/AutoDiscover.xml
 Failed testing this potential AutoDiscover URL
Test Steps
 Attempting to Resolve the host name mygcbe.com in DNS.
 The Host could not be resolved.
 Tell me more about this issue and how to resolve it
 
Additional Details
 Host mygcbe.com could not be resolved in DNS Exception Details: Message: No such host is known Type: System.Net.Sockets.SocketException Stack Trace: at System.Net.Dns.GetAddrInfo(String name) at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress) at Microsoft.Exchange.Tools.ExRca.Tests.ResolveHostTest.PerformTestReally() 
 
 
 
Attempting to test potential AutoDiscover URL https://autodiscover.mygcbe.com/AutoDiscover/AutoDiscover.xml
 Failed testing this potential AutoDiscover URL
Test Steps
 Attempting to Resolve the host name autodiscover.mygcbe.com in DNS.
 The Host could not be resolved.
 Tell me more about this issue and how to resolve it
 
Additional Details
 Host autodiscover.mygcbe.com could not be resolved in DNS Exception Details: Message: No such host is known Type: System.Net.Sockets.SocketException Stack Trace: at System.Net.Dns.GetAddrInfo(String name) at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress) at Microsoft.Exchange.Tools.ExRca.Tests.ResolveHostTest.PerformTestReally() 
 
 
 
Attempting to contact the AutoDiscover service using the HTTP redirect method.
 Failed to contact AutoDiscover using the HTTP Redirect method
Test Steps
 Attempting to Resolve the host name autodiscover.mygcbe.com in DNS.
 The Host could not be resolved.
 Tell me more about this issue and how to resolve it
 
Additional Details
 Host autodiscover.mygcbe.com could not be resolved in DNS Exception Details: Message: No such host is known Type: System.Net.Sockets.SocketException Stack Trace: at System.Net.Dns.GetAddrInfo(String name) at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress) at Microsoft.Exchange.Tools.ExRca.Tests.ResolveHostTest.PerformTestReally() 
 
 
 
Attempting to contact the AutoDiscover service using the DNS SRV redirect method.
 Failed to contact AutoDiscover using the DNS SRV redirect method.
Test Steps
 Attempting to locate SRV record _autodiscover._tcp.mygcbe.com in DNS.
 Failed to find AutoDiscover SRV record in DNS.
 Tell me more about this issue and how to resolve it

Open in new window

Looking at the Autodiscover test results posted, this looks eike a problem either with the Firewall of your company network or the DNS. If your company uses a firewall, check if port 443 is opened.

Check if users are able to log on to OWA from outside the company network. If OWA works within the company and not outside the company, then it is a problem with DNS or firewall.
alexsaiz: I will try both articles that you posted. I loaded the cert in the iphone and when I went to set it up, it didn't prompt me to accept the cert but I still got the exchange account verification failed error.

OWA does work outside and inside the network. I can even use OWA on the iphone.
Note: Our external URL was set to https://mail.mygcbe.com/OWA

We changed it to:

https://mail.mygcbe.com/Microsoft-Server-Activesync/

Is that correct?
can you let me know the settings that you have on the iphone?

Ideally it should be as below
Email:  email@domain.com
Server:  server name.domain.com
Domain: (blank)
Username: (username)
Password: (Password)
Email:Jmoody AT mygcbe.com
Server: mail.mygcbe.com
Domain: blank
Username: Joseph
Password: mypassword
I was trying to troubleshoot this error:

Test Steps
 Attempting to test potential AutoDiscover URL https://mygcbe.com/AutoDiscover/AutoDiscover.xml
 Failed testing this potential AutoDiscover URL
Test Steps
 Attempting to Resolve the host name mygcbe.com in DNS.
 The Host could not be resolved.
 Tell me more about this issue and how to resolve it


I tried entering the public IP of our mail server but that failed as well (same error).
Check if auto iscover works with MS Outlook outside of your network.
(ie, try configuring a new outlook profile)

Please also disable IP V6. It might cause some issues. After disabling IPV6, you might need a server reboot.
"In the Network Connections folder, obtain properties on all of your connections and adapters and clear the check box next to the Internet Protocol version 6 (TCP/IPv6) component in the list under This connection uses the following items.
This method disables IPv6 on your LAN interfaces and connections, but does not disable IPv6 on tunnel interfaces or the IPv6 loopback interface.

" Add the following registry value (DWORD type) set to 0xFFFFFFFF:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents

This method disables IPv6 on all your LAN interfaces, connections, and tunnel interfaces but does not disable the IPv6 loopback interface. You must restart the computer for this registry value to take effect.
ASKER CERTIFIED SOLUTION
Avatar of alexsaiz
alexsaiz
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just to let yall know, I am still reading up on these links. I will be out of town all of next week so I won't be able to reply to anything.