Connect Sharepoint 2013 with Exchange 2013 to sync tasks

#en, #exchange, #sharepoint edit this page

To sync Tasks with Exchange and Sharepoint 2013 some base functionality has to be prepared:

- Running user profile synchronization
- Work management service deployed
- SSL for the Web Application with valid certificate

User profile synchronization
There are some nice how to’s how to get this service running. In simple words you need an user account that has “Replicating Directory Changes” rights in AD

image

Then you have to start the User Profile Service Application in the Sharepoint Central Administration.

image

If everything works both ForeFront Services are running and you can configure the user profile service.

image

 

Work management

The Work management Service application doesn’t need extra configuration. It only has to be deployed and working. On Technet is a short description how to create this service application.

http://technet.microsoft.com/en-us/library/fp161254.aspx

SSL

The Web Application needs to be SSL enabled. This can be done easily in IIS by enabling the HTTPS binding:

image

To verify that this works you can check if the Exchange server can access the AuthMetadataUrl with the browser.
AuthMetadataUrl: https://intranet.domain.local/_layouts/15/metadata/json/1

If you can access the 1.json file without authentication this step worked.

image

Tip: If you have to enter credentials, check the authentication methods in IIS for the Web Application. Anonymous needs to be activated:

image

 

Now you can connect Sharepoint with Exchange:

On Sharepoint 2013
1) Download EWSManagedAPI.msi from http://www.microsoft.com/en-us/download/details.aspx?id=35371
2) Install the EWS API with the following switches:
msiexec /i EwsManagedApi.msi addlocal="ExchangeWebServicesApi_Feature,ExchangeWebServicesApi_Gac"
3) Reset IIS

On Exchange 2013
1) Switch to the following directory: C:\Program Files\Microsoft\Exchange Server\V15\Scripts
2) Configre Enterprise Partner Application
.\Configure-EnterprisePartnerApplication.ps1 -ApplicationType Sharepoint -AuthMetadataUrl https://intranet.domain.local/_layouts/15/metadata/json/1

You should get the following output

image

Now you are able to sync Tasks with Sharepoint and Exchange 2013:

image

Tip: If this does not work and
- you are not in the same Domain with Exchange (maybe in a subdomain)
- you have an error with Exchange Autodiscover in the Sharepoint logs
- you have authentication errors with Exchange in the Sharepoint logs

check that your subdomain (for example subdomain.domain.local) is added to the accepted domains in Exchange.

Greetings
dn