Link to home
Start Free TrialLog in
Avatar of Chad Franks
Chad Franks

asked on

Exchange 2010 Active Synch error 401 1 1326

I setup the following environment.

1 Windows 2012 server (domain controller, Exchange 2010 server etc...)

Everything is working fine with the email.  I can send/receive etc, but I cannot access it via my smartphone.  I tried using every combination I could for the login credentials, but I keep getting "authentication failed"..

When I look at the logs I see this:

2015-05-28 00:18:41 W3SVC1 JServer 192.xx.xx.xx OPTIONS /Microsoft-Server-ActiveSync/default.eas Cmd=OPTIONS&User=jajax%5Cjonathan&DeviceId=SEC18989AAD17417&DeviceType=SAMSUNGSCHI535 443 contoso\jonathan 74.1.xx.xx SAMSUNG-SCH-I535/101.40402 - 401 1 1326 2669 -

As you can see i am getting  a 401 1 1326 error.  Which usually means wrong username/password.  

I am using domain\username combo all different ways I can think of.  The active sync feature is enabled for all mailboxes..

Please help!
ASKER CERTIFIED SOLUTION
Avatar of Chad Franks
Chad Franks

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
Have you tried microsoft
Www.Testexchangeconnectivity.com 
To see a full log of what is happening
Which server it is connecting to and exactly where it is failing ?

Also have you tried
Username@domain.com
Avatar of Chad Franks

ASKER

I went to Www.Testexchangeconnectivity.com  and this is the info  I got back:

      
      Additional Details
       
The following authentication methods are enabled, but they aren't allowed authentication methods for this service. Methods: Negotiate, NTLM
HTTP Response Headers:
Content-Type: text/html
Server: Microsoft-IIS/8.5
WWW-Authenticate: Basic realm="mail.jajax.com",Negotiate,NTLM
X-Powered-By: ASP.NET
Date: Thu, 28 May 2015 23:26:55 GMT
Content-Length: 1293
Elapsed Time: 350 ms.
      An ActiveSync session is being attempted with the server.
       Errors were encountered while testing the Exchange ActiveSync session.
       
      Additional Details
       
Elapsed Time: 3005 ms.
       
      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
       
An HTTP 500 response was returned from IIS7.
HTTP Response Headers:
Persistent-Auth: true
Content-Length: 1208
Content-Type: text/html
Date: Thu, 28 May 2015 23:26:59 GMT
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
Elapsed Time: 3005 ms.
ok I changed the the app pool in IIS to use .net4.0 integrated and the testconnectivity completes successfully.  however I still can't sync with my phone.  I am now getting 401 1 1326 errors in the IIS logs..


 Submit  


      Connectivity Test Successful with Warnings
 
Test Details


      The Microsoft Connectivity Analyzer is testing Exchange ActiveSync.
       Exchange ActiveSync was tested successfully.
       
      Additional Details
       
Elapsed Time: 8609 ms.
       
      Test Steps
       
      Attempting to resolve the host name mail.jajax.com in DNS.
       The host name resolved successfully.
       
      Additional Details
      Testing TCP port 443 on host mail.jajax.com to ensure it's listening and open.
       The port was opened successfully.
       
      Additional Details
      Testing the SSL certificate to make sure it's valid.
       The certificate passed all validation requirements.
       
      Additional Details
       
      Test Steps
      Checking the IIS configuration for client certificate authentication.
       Client certificate authentication wasn't detected.
       
      Additional Details
      Testing HTTP Authentication Methods for URL https://mail.jajax.com/Microsoft-Server-ActiveSync/.
       The test passed with some warnings encountered. Please expand the additional details.
        Tell me more about this issue and how to resolve it
       
      Additional Details
      An ActiveSync session is being attempted with the server.
       Testing of an Exchange ActiveSync session completed successfully.
       
      Additional Details
       
      Test Steps



© 2013 Microsoft | Version 3.7 | Feedback | Privacy | Terms of Use
do not know your phone model age but is this section relevant to you
(you will need to run the test again then expand the result)

from memory it refers to an authentication problem for some phones?

Additional Details
       Testing HTTP Authentication Methods for URL https://mail.jajax.com/Microsoft-Server-ActiveSync/.
        The test passed with some warnings encountered. Please expand the additional details.
         Tell me more about this issue and how to resolve it
can you test it with an iPhone 4/5/6
I figured it out myself