Quantcast
Channel: Exchange Server 2013 - Mobility and ActiveSync forum
Viewing all articles
Browse latest Browse all 1206

Active Sync:The remote server returned an error: (401) Unauthorized.

$
0
0

I am using Exchange 2007 i am having issue with Active Sync

Under EMC active sync properties

Active sync internal URL :https://mail.mydomain.com/Microsoft-Server-ActiveSync
Active Sync External URL : https://mail.mydomain.com/


If BASIC authentication is unchecked in exchange Active Sync properties
Client Certification is set to  ignore

Test-ActiveSyncConnectivity -MailboxCredential (Get-Credential mydomain.com\user) | fl
ClientAccessServer     : mail.mydomain.com
Scenario               : Options
ScenarioDescription    : To retrieve the Exchange ActiveSync protocol version, issue an HTTP OPTIONS command.
PerformanceCounterName : DirectPush Latency
Result                 : Failure
MailboxServer          :
StartTime              : 12/23/2013 7:04:40 AM
Latency                : -00:00:01
SecureAccess           : True
Error                  : [System.Net.WebException]: The remote server returned an error: (401) Unauthorized.

                         HTTP response headers:

                         Content-Length: 6372
                         Cache-Control: private
                         Content-Type: text/html; charset=utf-8
                         Date: Mon, 23 Dec 2013 04:04:40 GMT
                         Server: Microsoft-IIS/7.0
                         X-Powered-By: ASP.NET


UserName               : user
VirtualDirectoryName   :
Url                    :
UrlType                : Unknown
EventType              : Error
Port                   : 0
ConnectionType         : Plaintext



If BASIC authentication is checked in exchange Active Sync properties
Client Certification is set to  ignore


Test-ActiveSyncConnectivity -MailboxCredential (Get-Credential mydomain.com\user) | fl
ClientAccessServer     : mail.mydomain.com
Scenario               : Options
ScenarioDescription    : To retrieve the Exchange ActiveSync protocol version, issue an HTTP OPTIONS command.
PerformanceCounterName : DirectPush Latency
Result                 : Failure
MailboxServer          :
StartTime              : 12/23/2013 7:07:28 AM
Latency                : -00:00:01
SecureAccess           : True
Error                  : An incorrect HTTP response was received for user mydomain.com\user, HTTP code = Found.
UserName               : user
VirtualDirectoryName   :
Url                    :
UrlType                : Unknown
EventType              : Error
Port                   : 0
ConnectionType         : Plaintext


Under IIS Active Sync basic authentication is enabled


Viewing all articles
Browse latest Browse all 1206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>