Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
We are try to configure Dynamics CRM (8.2) to connect to Exchange Online, in order to sync appointments. We have completed everything in this guide: https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/administering-dynamics-365/mt703269(v=crm.8) using server side sync, ADFS SSO is all working no issues.
However, the issue is that when it tries to connect to Exchange Online, it refuses to use the web proxy settings on the system, and instead tries to go directly out, which is of course blocked. We have tried:
- Specifying proxy settings in the System using IE, this works fine for web browsing so we know the proxy is working.
- Setting using netsh winhttp
- Putting system.web section in the web.config file with the proxy details specified
None of these works or makes any difference. The proxy does not require authentication, and works for all other Office 365 services (e.g. Exchange migrations).
Does anyone have any idea how to make it use a proxy for outbound connections to Exchange Online?
FYI we have raise a support call with Microsoft for this. No joy as yet.
I wonder if anyone has ever done this with a proxy server? Pretty normal for an Enterprise environment?
OK we finally got the proxy working:
Take a backup of the file C:\Program Files\Microsoft Dynamics CRM\Server\bin\CrmAsyncService.exe.config
Add in the proxy server settings inside the <configuration> tag:
<add address="[a-z]+.domain.com$" />
See docs.microsoft.com/.../proxy-configuration for documentation on dotnet proxy syntax.
I am facing exactly the same issue. Thank you for that - I will try if that works for us as well!
Unfortenately that didn't solve the issue in my case. Did you have to perform any additonal steps? (I did a restart of front- and backend server)
Many other steps, but this was the main piece we were missing. We could see the connection just try to go straight out of the gateway without using the proxy (just using e.g. netstat | findstr ":443") and not using the proxy port. Adding above and restarting both async services got it at least using the proxy.
We then basically followed the guide here: docs.microsoft.com/.../mt703269(v=crm.8)
Although we found IDP is not required, ADFS/SSO is not required, and the main issue was the certificate permissions which must be granted to the async service account otherwise you get token errors.
So is it not even trying to use the proxy? What error are you getting?
Business Applications communities