1. Install Exchange Web Services Managed API on your SharePoint 2010 server
2. Make sure your User Profile Service Application is configured correctly and import completed successfully
3. Add Alternate access mapping URL http://localhost to web application with connected User Profile Service Application Proxy
We have only option deploy to localhost. Sorry, I don’t know your hostname J. See more information here.
4. Download Exchange BCS SharePoint solution file from CodePlex.
5. Start SharePoint 2010 PowerShell command prompt add and deploy solution with commands:
stsadm -o addsolution –filename MsExchangeBcsConnector.wsp
stsadm -o deploysolution –name MsExchangeBcsConnector.wsp -allowgacdeployment -immediate –force
6. Setup your Business Data Connectivity Service application
6.1. Create profile pages for MsExchangeConnector content types: MailBox, Message, Attachments
6.2. Set Exchange web service connection information for your system instance
ProfileSiteUrl – SharePoint site where your user personal sites deployed
Next 4 items are for EWS connection
ExchangeServiceUrl – EWS URL like https://exchange.contoso.ru/EWS/Exchange.asmx
EmailDomainForCrawling – Domain name like CONTOSO
ExchangeLogin – user name for EWS connection
ExchangePassword – Password for EWS connection
AdminAdGroup – Security group with access to search results rights
Please check if you are able to open ExchangeServiceUrl under provided credentials in Web Browser.
7. Setup your search service application
7.1. Add MS Exchange as a content source
7.2. Start full crawling
7.3. Check results. You might get errors if your EWS user account doesn’t have access to exchange mail box of particular user
8. Check search results