Solved

Android phone and Microsoft Exchange Activesync

Posted on 2011-03-10
14
1,085 Views
Last Modified: 2012-05-11
I am trying to sync a Android Motorola Atrix phone with Microsoft Exchange 2003 and I am having no luck.  We do not have a certificate on the server.  OWA on the server is fully operational.  To make OWA work you need to put the full public IP address /exchange as an address for the browser and that gets you in to Outlook Web Access so I don't believe it is security issue.  I either get the message that it cannot connect to the server or a HTTP error 403 message.  Any help would be appreciated.
0
Comment
Question by:captjcret
  • 7
  • 5
14 Comments
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 35099917
Please work your way through my article and check your config, run the test, fix any errors and shout if you get stuck anywhere:

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 35099935
The 403 error usually mean you have to follow KB817379 which is linked to in my article under the HTTP 403 error section and means you have Forms Based Authentication enabled or SSL enabled on the Exchange Virtual Directory and shouldn't.
0
 
LVL 8

Expert Comment

by:praveenkumare_sp
ID: 35103324
do we get 403 on only if we have "Forms Based Authentication enabled or SSL enabled on the Exchange Virtual Directory "  not for anything else is it ??
0
 

Author Comment

by:captjcret
ID: 35112400
Ran the connectivity test and it fails at the SSL certificate validation check.  I went through all of the steps in your article and unchecked all secure communications requiring SSL except the exchange virtual directory.  This is a Small Business Server 2003.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 35113486
Please post the output from the test site (obscure your domain name / IP Address if you like (or I can do it for you), it will make troubleshooting the problem much easier.

Thanks

Alan
0
 

Author Comment

by:captjcret
ID: 35113528
     ExRCA is testing Exchange ActiveSync.
       The Exchange ActiveSync test failed.
       
      Test Steps
       
      Attempting to resolve the host name mail.bnslawyers.com in DNS.
       The host name resolved successfully.
       
      Additional Details
       IP addresses returned: 207.178.225.118, 207.178.228.126
      Testing TCP port 443 on host mail.bnslawyers.com to ensure it's listening and open.
       The port was opened successfully.
      Testing the SSL certificate to make sure it's valid.
       The SSL certificate failed one or more certificate validation checks.
       
      Test Steps
       
      Validating the certificate name.
       Certificate name validation failed.
        Tell me more about this issue and how to resolve it
       
      Additional Details
       Host name mail.bnslawyers.com doesn't match any name found on the server certificate CN=www.bnslawyers.com, CN=companyweb, CN=server, CN=localhost, CN=server.bnslawyers.local.
0
The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 35113568
Okay - so you access your OWA via mail.domain.com and yet your certificate is for www.domain.com, but www.domain.com is not hosted on your own server

So the first step is to create a new certificate for mail.domain.com and then you will get further in the test as the FQDN you use for Activesync (e.g., mail.domain.com), has to match the name on the certificate, or the name on the certificate has to match the FQDN you use to connect via Activesync with.

As you have SBS 2003 - please follow the SL section of my article for details of how to create a new certificate (very easily):

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html
0
 

Author Comment

by:captjcret
ID: 35117118
Where would you recommend I get a certificate? We currently are not using one.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 35117173
You are using a certificate.  It is the SBS self issued certificate.

Re-run the connect to the Internet Wizard from Start> Server Management> To Do List, change nothing until you get to the certificate part and then chose to create a new certificate using mail.domain.com and then complete the wizard.

That will create and install a new certificate for you with the correct name.
0
 

Author Comment

by:captjcret
ID: 35117316
That helped me get past the SSL part of the connectivity test.  Now it stops here:

 ExRCA is testing Exchange ActiveSync.  
  The Exchange ActiveSync test failed.
   Test Steps
   Attempting to resolve the host name mail.bnslawyers.com in DNS.
  The host name resolved successfully.
   Additional Details
  IP addresses returned: 207.178.225.118, 207.178.228.126
 
 Testing TCP port 443 on host mail.bnslawyers.com to ensure it's listening and open.
  The port was opened successfully.
 Testing the SSL certificate to make sure it's valid.
  The certificate passed all validation requirements.
   Test Steps
   Validating the certificate name.
  The certificate name was validated successfully.
   Additional Details
  Host name mail.bnslawyers.com was found in the Certificate Subject Common name.
 
 Testing the certificate date to confirm the certificate is valid.
  Date validation passed. The certificate hasn't expired.
   Additional Details
  The certificate is valid. NotBefore = 3/12/2011 7:25:00 PM, NotAfter = 3/12/2016 7:25:00 PM
 
 
 
 Checking the IIS configuration for client certificate authentication.
  Client certificate authentication wasn't detected.
   Additional Details
  Accept/Require Client Certificates isn't configured.
 
 Testing HTTP Authentication Methods for URL https://mail.bnslawyers.com/Microsoft-Server-Activesync/.
  The HTTP authentication methods are correct.
   Additional Details
  ExRCA found all expected authentication methods and no disallowed methods. Methods found: Basic
 
 An ActiveSync session is being attempted with the server.
  Errors were encountered while testing the Exchange ActiveSync session.
   Test Steps
   Attempting to send the OPTIONS command to the server.
  Testing of the OPTIONS command failed. For more information, see Additional Details.
   Additional Details
  A Web exception occurred because an HTTP 401 - Unauthorized response was received from Unknown.
 
 
 
 
 
0
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
ID: 35117353
Okay - that is good progress.

The 401 errors are usually caused by incorrect username, password or IP address restrictions on the virtual directories mentioned in my article:

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html
0
 

Author Closing Comment

by:captjcret
ID: 35117621
Awesome job and a great article!!
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 35117722
Thanks - glad it was helpful : )

Alan
0

Featured Post

How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
In this video we show how to create a mailbox database 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 >> Data…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now