Link to home
Start Free TrialLog in
Avatar of Dinesh Babu
Dinesh BabuFlag for India

asked on

ActiveSync Calendar and contacts not working

Hello Team,

We are using Exchange 2013 servers and MobileIron as the mobility solution, single user is facing issues with accessing Calendar and contacts in his mobile devices. user is not getting new meeting notifications eventhough mobile device is synced with mailbox.
we tried with different mobiles, still same issue.
we removed mobile partnership still same issue.
no useful infomation from Get-CalendarDiagnosticlog and Get-CalendarDiagnosticloganalysis
please assist.

Thanks in advance,
Dinesh
Avatar of dfke
dfke

Hi,

maybe it's just caused by the exchange service app not having the needed permissions for some reason?

Settings -> Apps -> Exchange -> Permissions *activate everything*

Cheers
Here are my notes on ActiveSync Mailbox Logging.

ActiveSync Mailbox Logging

Friday, October 24, 2014
3:35 PM


Open Exchange management shell on any Exchange server. Run cmd below,
Set-CASMailbox aliasofUser -ActiveSyncDebugLogging:$true
 
To retrieve logs.
Get-ActiveSyncDeviceStatistics -Mailbox alias -GetMailboxLog:$true -NotificationEmailAddress yourEmailAddress@contoso.com

Set-CASMailbox aliasofUser -ActiveSyncDebugLogging:$false

http://blogs.technet.com/b/jasonsla/archive/2013/03/19/exchange-activesync-mailbox-logging.aspx

Be sure to read the blog in it's entirety.

 

1)  Delete the email account from the device. (Remove the profile)
 
2)  Find out what ActiveSync devices are associated with a user’s mailbox:
 
            Get-ActiveSyncDevice -Mailbox "Redmond\TonySmith"
 
3)  Remove the device in question from ActiveSync:  
       
            Remove-ActiveSyncDevice -Identity iPhone_TonySmith -Confirm $true
 
4)  Enable ActiveSync logging for the user’s mailbox:
 
            Run the following command on the server where the user’s mailbox is located “Set-CASMailbox alias -ActiveSyncDebugLogging:$true”
             
5) Re-add the device
       
6) Allow syncing to commence and complete
       
7) Dump the captured log file to an email address:
             
Get-ActiveSyncDeviceStatistics -Mailbox alias -GetMailboxLog:$true -NotificationEmailAddress yourEmailAddress@contoso.com
Avatar of Dinesh Babu

ASKER

Dfke and Scott, thanks for your prompt response.
I have pulled client logs already and only strange thing I found is below request and response,
RequestBody : 
<?xml version="1.0" encoding="utf-8" ?>
<FolderSync xmlns="FolderHierarchy:">
	<SyncKey>2</SyncKey>
</FolderSync>

Command_WorkerThread_Exception : 
--- Exception start ---
Exception type: Microsoft.Exchange.AirSync.AirSyncPermanentException
Exception message: 
Exception level: 0
HttpStatusCode: OK
AirSyncStatusCode: ValidateCert_PurposeError
ProtocolLoggerString: 
XmlResponse: 
<?xml version="1.0" encoding="utf-8" ?>
<FolderSync xmlns="FolderHierarchy:">
	<Status>9</Status>
</FolderSync>
Exception stack trace:    at Microsoft.Exchange.AirSync.FolderCommand.LoadSyncState(Int32 syncKey)
   at Microsoft.Exchange.AirSync.FolderCommand.ExecuteCommand()
   at Microsoft.Exchange.AirSync.Command.WorkerThread()
--- Exception end ---

Open in new window


Please advise!!
ASKER CERTIFIED SOLUTION
Avatar of dfke
dfke

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
Hi dfke,
No windows phone, we tested using Android and Apple devices, both are running on latest version of OS.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: dfke (https:#a42220640)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

exchangepro
Experts-Exchange Cleanup Volunteer