How do I troubleshoot the task sync? I followed instructions and I believe the EWS API is installed OK and the trust relationship is there. Both SharePoint and Exchange are on-prem 2013 with the latest CUs.
I get:
"We weren't able to sync your tasks. This could be because your mailbox is on an Exchange server that isn't supported for syncing tasks. Please contact your admin..."
There is a correlation ID but I honestly do not know what you can do with that. I assume it is in some log file?
Autodiscover Command
Name : EXCHANGE13 AutoDiscoverServiceInternalUri : https://exchange.xyz.com/Autodiscover/Autodiscover.xml
From ULS:
04/09/2018 13:55:58.68 w3wp.exe (0x1F04) 0x06B8 SharePoint Server Search Exchange Integration ah9c2 Medium AutodiscoverLocalException: Autodiscover blocked a potentially insecure redirection to https://exchange.xyz.com/autodiscover/autodiscover.xml. To allow Autodiscover to follow the redirection, use the AutodiscoverUrl(string, AutodiscoverRedirectionUrlValidationCallback) overload. 0adf5b9e-fc44-a017-22e1-e9a3888bda7d
04/09/2018 13:55:58.68 w3wp.exe (0x1F04) 0x06B8 SharePoint Server Search Exchange Integration aiwxi Medium SearchServiceApplication::ExchangeAdapter::SharePoint CorrelationId:; Exchange Request Id:; Diagnostic Info: 0adf5b9e-fc44-a017-22e1-e9a3888bda7d
04/09/2018 13:55:58.68 w3wp.exe (0x1F04) 0x06B8 SharePoint Server Search Exchange Integration ai1pi Medium Autodiscover Diagnostics EWS Client Version: 15.00.0516.014 0adf5b9e-fc44-a017-22e1-e9a3888bda7d
Using:
Get-ClientAccessServer |fl identity,autodiscoverserviceinternaluri
The output is now:
Identity : EXCHANGE13 AutoDiscoverServiceInternalUri : https://autodiscover.xyz.com/Autodiscover/Autodiscover.xml
I have a host name of autodiscover pointed to the IP of the server. The cert is OK as it is a wildcard.