Scenario: You received complaints that ActiveSync isn’t working for some users in your environment. Your environment consists of large number of servers and you need a quick way of determining which server is not able to process ActiveSync requests.
Troubleshooting Steps:
- Check the server component state on each server: Get-exchangeserver EX* | Get-servercomponentstate | Where {($_.Component -eq “ActiveSyncProxy”) -and ($_.state -ne “Active”)}
- Test-ActiveSyncConnectivity:$1 = get-credential
$Servers = Get-clientaccessserver esg* | Where AdminDisplayVersion -like *15*
$final = @()
$Servers | %{$final += Test-ActiveSyncConnectivity -AllowUnsecureAccess:$true -ClientAccessServer $_ -MailboxCredential $1 -lightmode} - Check Logs on the server:
- Verify EAS connections are being logged in the IIS Logs: C:inetpublogslogfilesw3svc1
- Verify the EAS logs are generating activity. EAS logs should be generated every hour: c:Program FilesMicrosoftExchange ServerV15LoggingHttpProxyEas
- Go to the URL and test. A working server produces DeviceIdMissingOrInvalid as an error after authentication: https://<server fqdn>/Microsoft-server-activesync