Resetting Exchange Calendar on IOS Device when IOS Calendar is out of sync

​Scenario: You have an IOS device where the calendar is out of sync with the Exchange calendar. There may be duplicate appointments, missing appointments, or appointments that do not relfect changes.
Solution:  Instead of removing the mail account from the IOS device, Turn off the calendar and turn back on the calendar via the mail profile to initiate a fresh sync.
1. On the IOS device, tap Settings.
2. Tap Mail, Contacts, Calendars.
3. Tap your Exchange account.
4. Tap on Calendar to disable it.
5. Tap on Delete from My iPhone as all the calendar info will be removed from your phone.
6. Wait a minute and then turn the calendar back on.

HTTP 413 Errors in IIS logs with ActiveSync and Certificate Based Authentication

Scenario: After setting up Certificate Based Authentication for ActiveSync, users on mobile devices may experience the following error message: “Cannot Send Mail.The message was rejected by the server because it is too large”. When you check the IIS logs, you may see HTTP 413 errors. Our Environment: Exchange 2013, Windows Server 2012, IIS 8.0.
Reason: The client connection was dropped to prevent DeadLock. The server requests renegotiation for certificate authentication, and the content length the client is trying to send is larger than the value of the UploadReadAheadSizemetabase property in IIS.
WorkAround: The workaround below will re-bind the certificate to enable client certificate negotiation upfront.
Re-bind the certificate and enable ClientCertNegotiation:
1. netsh http show sslcert <– Copy the results to notepad.
2. netsh http delete sslcert hostnameport=<hostnameport>:443
3. netsh http add sslcert hostnameport=<hostname>:443 certhash=<certhash> appid=<appid> certstorename=MY clientcertnegotiation=enable <– Use copied results from step 1 to fill in these values)
Note: We have a separate IIS Site with EAS setup for Certificate Based Authentication. We use a separate certificate on this site so we can enable clientcertnegotiation on the certificate. Another work around would be to change the UploadReadAheadSize on the Web Server, the website that hosts the EAS subsite, and the EAS subsite.

Remove stale ActiveSync Devices from Exchange 2010

Scenario: Exchange accounts have a max of 10 ActiveSync devices per account. This script will remove stale devices that are older then 180 days.

The initial report will take hrs to run. the code is listed below. This will run and export the results to a CSV file.
$DevicesToRemove = Get-ActiveSyncDevice -result unlimited | Get-ActiveSyncDeviceStatistics | where {$_.LastSuccessSync -le (Get-Date).AddDays(“-180”)}| Export-CSV C:scriptsstaleeas.csv
The code below will remove the device by pulling the list from the CSV you created above.
import-staleeas.CSV | foreach-object {Remove-ActiveSyncDevice -Identity $_.guid -confirm:$False}

View the Global Address List on ios device

Task: View the Global Address List on your iPad/iPhone.
PreReq: Contacts need to be enabled on the Exchange account on your iPad/iPhone.
 
Steps: 

1. Tap Contacts.
2. Tap Groups.
3. Tap your Exchange account name (e.g. Exchange) in the Directories section.
4. Enter a name and tap Search. (Your search criteria must be over 4 characters)
5. Tap the user account you are searching for.
6. The user’s information will appear.

 
From here you can call, email, or gather contact information for the users you search.

How to Activate a 3G iPhone with Exchange Activesync

Apple’s iPhone 3G (or a first generation iPhone or iPod touch with the 2.0 software update) allows for full synchronization of your Exchange contacts, calendars, and email. Following are step-by-step instructions on configuring for Exchange:

  1. Click on Settings
  2. Click on Mail, Contacts, Calendars
  3. Click Add Account…
  4. Click Microsoft Exchange
  5. Enter the following information, then click Save
    Preferred Email addressUsername: DomainUsername
    Password: Password
    Description: Exchange
  6. Click Next, Enter in the server name; example: mail.domain.com
  7. Click Next, Click Save
  8. Click Exchange
  9. Click ON to synchronize your Mail, Contacts, and Calendars

roaming active sync users getting push emails in batches

Some active sync users who travel often may not get push emails as they arrive
This is often due to network roaming issues. To prevent such errors, configure your active sync device to apply active sync sync schedule while roaming
** please note that roaming charges still apply and you might incur higher phone bill