<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="www.w3.org/2005/Atom" xmlns:sy="purl.org/rss/1.0/modules/syndication/" xmlns:dc="purl.org/dc/elements/1.1/" xmlns:content="purl.org/rss/1.0/modules/content/" xmlns:wfw="wellformedweb.org/CommentAPI/" xmlns:slash="purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Connector -- Integrating Dynamics ERP with Dynamics CRM</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/dynamicsconnector/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/feed.xml</link>
    <description>Connector for Microsoft Dynamics is an integration solution which is targeted specifically at the Microsoft Dynamics product family. Connector provides an out of the box integration between Dynamics CRM and Dynamics ERP solutions.</description>
    <lastBuildDate>Tue, 16 Apr 2019 05:05:50 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Connector for Microsoft Dynamics support for Microsoft Dynamics CRM beyond Dynamics CRM version 2016</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/connector-for-microsoft-dynamics-support-for-microsoft-dynamics-crm-beyond-dynamics-crm-version-2016</link>
      <pubDate>Fri, 08 Apr 2016 13:38:58 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/?p=1133</guid>
      <description><![CDATA[As announced in this post, the most recent version of Connector for Microsoft Dynamics  (3.4.304.1)...]]></description>
      <content:encoded><![CDATA[As announced in this <a href="https://blogs.msdn.com/b/dynamicsconnector/archive/2015/11/30/connector-for-microsoft-dynamics-support-for-microsoft-dynamics-crm-2016.aspx">post</a>, the most recent version of Connector for Microsoft Dynamics  (3.4.304.1) (“Connector”) supports Dynamics CRM 2016 (8.x.x.x) both on-premises and online. Today (April 8<sup>th</sup>, 2016) we are announcing that Dynamics CRM version 2016 will be the last major version of Dynamics CRM to be supported by Connector.
<h2><span style="text-decoration: underline">Support matrices for Connector for Microsoft Dynamics as of 10/09/2018</span></h2>
If your Dynamics product version does not appear in these matrices, then it is not supported by Connector for Microsoft Dynamics.
<h3>Dynamics NAV support matrix</h3>
<table width="584" style="height: 362px" border="1">
<tbody>
<tr>
<td width="104" style="text-align: center"></td>
<td width="104" style="text-align: center">CRM 2013 6.x.x.x</td>
<td width="104" style="text-align: center">CRM 2015 7.x.x.x</td>
<td width="104" style="text-align: center">CRM 2016 8.x.x.x</td>
</tr>
<tr>
<td width="104" style="text-align: center">NAV 2015</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
</tr>
<tr>
<td width="104" style="text-align: center">NAV 2016 *</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
</tr>
</tbody>
</table>
* Connections to Dynamics CRM using this version of Dynamics NAV should transition to the Dynamics CRM interoperability framework included in the Dynamics NAV 2016 release.
<h3>Dynamics AX support matrix</h3>
<table width="583" style="height: 362px" border="1">
<tbody>
<tr>
<td width="104" style="text-align: center"></td>
<td width="104" style="text-align: center">CRM 2013 6.x.x.x</td>
<td width="104" style="text-align: center">CRM 2015 7.x.x.x</td>
<td width="104" style="text-align: center">CRM 2016 8.x.x.x</td>
</tr>
<tr>
<td width="104" style="text-align: center">AX 2012 R3</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
</tr>
</tbody>
</table>
<h3> Dynamics GP support matrix</h3>
<table width="580" style="height: 400px" border="1">
<tbody>
<tr>
<td width="104" style="text-align: center"></td>
<td width="104" style="text-align: center">CRM 2013 6.x.x.x</td>
<td width="104" style="text-align: center">CRM 2015 7.x.x.x</td>
<td width="104" style="text-align: center">CRM 2016 8.x.x.x</td>
</tr>
<tr>
<td width="104" style="text-align: center">GP 2015</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
</tr>
<tr>
<td width="104" style="text-align: center">GP 2015 R2</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
</tr>
<tr>
<td width="104" style="text-align: center">GP 2016</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
</tr>
</tbody>
</table>
<h3> Dynamics SL support matrix</h3>
<table border="1">
<tbody>
<tr>
<td width="104" style="text-align: center"></td>
<td width="104" style="text-align: center">CRM 2013 6.x.x.x</td>
<td width="104" style="text-align: center">CRM 2015 7.x.x.x</td>
<td width="104" style="text-align: center">CRM 2016 8.x.x.x</td>
</tr>
<tr>
<td width="104" style="text-align: center">SL 2011 SP1</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
<td width="104" style="text-align: center">Y</td>
</tr>
</tbody>
</table>
&nbsp;

Note: Mainstream support for Dynamics CRM 2011 ended on 7/12/2016 as did official Connector support for interoperability with Dynamics CRM 2011.  The official Microsoft support lifecycle website can be found <a href="https://support.microsoft.com/en-us/lifecycle/search">here</a>.
<h2><span style="text-decoration: underline">What does this mean for my current and future Connector implementations?</span></h2>
<ul>
 	<li>
<h3>Microsoft Dynamics NAV</h3>
<ul>
 	<li>Dynamics NAV 2016 includes a new interoperability framework for connecting with Dynamics CRM 2015 (7.x.x.x) and successor versions.  We recommend existing Dynamics NAV connections to Dynamics CRM versions greater than 2015 transition to this new framework once the Dynamics NAV instance is updated to Dynamics NAV 2016 or beyond.  New implementations of Dynamics NAV 2016 or beyond and Dynamics CRM 2015 or beyond should use the new NAV framework as well.  More information on this technology can be found at the following link: <a href="https://msdn.microsoft.com/en-us/library/dn951570(v=nav.90).aspx">https://msdn.microsoft.com/en-us/library/dn951570(v=nav.90).aspx</a></li>
 	<li>Versions of Dynamics NAV earlier than 2016 that use Connector to interoperate with Dynamics CRM versions earlier than 2016 will continue to be supported by Connector  through the life cycle of the Dynamics NAV version.  If the Dynamics CRM instance must be upgraded, we recommend upgrading the version of Dynamics NAV to 2016 or a later version.</li>
</ul>
</li>
 	<li>
<h3>Microsoft Dynamics AX</h3>
<ul>
 	<li>Dynamics AX versions released after Dynamics AX 2012 R3 will include a new interoperability framework for connecting with Dynamics CRM 2016 and successor versions.  Stay tuned to the Dynamics AX release announcements for more information on that technology.</li>
 	<li>Versions of Dynamics AX earlier than 2012 R3 that use Connector to interoperate with Dynamics CRM versions earlier than 2016 will continue to be supported by Connector through the support life cycle of the Dynamics AX version. If the Dynamics CRM version is upgraded to a post 2016 version, then the Connector implementation will fall outside of the support matrix.  If the Dynamics CRM instance must be upgraded, we recommend upgrading the version of Dynamics AX to a version later than 2012 R3.</li>
</ul>
</li>
 	<li>
<h3>Microsoft Dynamics GP</h3>
<ul>
 	<li>Dynamics GP will continue to be supported according to the support lifecycle for the given version of Dynamics GP that interoperates with Dynamics CRM until the version of Dynamics CRM is upgraded to a version greater than 2016.</li>
</ul>
</li>
 	<li>
<h3>Microsoft Dynamics SL</h3>
<ul>
 	<li>Dynamics SL will continue to be supported according to the support lifecycle for the given version of Dynamics SL interoperates with Dynamics CRM until the version of Dynamics CRM is upgraded to a version greater than 2016.</li>
</ul>
</li>
</ul>
&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Connector download links</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/connector-download-links</link>
      <pubDate>Wed, 09 Mar 2016 19:06:47 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/?p=1121</guid>
      <description><![CDATA[The download links have been moved from a list to this...]]></description>
      <content:encoded><![CDATA[The download links have been moved from a list to this page:

<a href="https://blogs.msdn.microsoft.com/dynamicsconnector/?p=1111">https://blogs.msdn.microsoft.com/dynamicsconnector/?p=1111</a>]]></content:encoded>
    </item>
    <item>
      <title>Connector for Microsoft Dynamics support for Microsoft Dynamics CRM 2016</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/connector-for-microsoft-dynamics-support-for-microsoft-dynamics-crm-2016</link>
      <pubDate>Mon, 30 Nov 2015 10:29:00 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/2015/11/30/connector-for-microsoft-dynamics-support-for-microsoft-dynamics-crm-2016/</guid>
      <description><![CDATA[Microsoft Dynamics CRM 2016 has officially released:...]]></description>
      <content:encoded><![CDATA[<p>Microsoft Dynamics CRM 2016 has officially released: <a href="https://community.dynamics.com/b/msftdynamicsblog/archive/2015/11/30/microsoft-dynamics-crm-2016-now-available-ushering-in-a-new-era-of-intelligent-customer-engagement">https://community.dynamics.com/b/msftdynamicsblog/archive/2015/11/30/microsoft-dynamics-crm-2016-now-available-ushering-in-a-new-era-of-intelligent-customer-engagement</a></p>
<p>The most current version (3.4.304.1) of Connector for Microsoft Dynamics does support Dynamics CRM 2016 in both on-premises and online deployments. More information on this version of Connector can be found in this post: <a href="https://blogs.msdn.com/b/dynamicsconnector/archive/2014/12/04/connector-for-microsoft-dynamics-v3-cu-4-released.aspx">blogs.msdn.com/b/dynamicsconnector/archive/2014/12/04/connector-for-microsoft-dynamics-v3-cu-4-released.aspx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Instance Adapter for Microsoft Dynamics CRM is now on GitHub as open source</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/instance-adapter-for-microsoft-dynamics-crm-is-now-on-github-as-open-source</link>
      <pubDate>Tue, 03 Nov 2015 11:42:00 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/2015/11/03/instance-adapter-for-microsoft-dynamics-crm-is-now-on-github-as-open-source/</guid>
      <description><![CDATA[Today the Instance Adapter for Microsoft Dynamics CRM was published on GitHub as a public open...]]></description>
      <content:encoded><![CDATA[<p>Today the Instance Adapter for Microsoft Dynamics CRM was published on GitHub as a public open source project using the MIT license.&nbsp; The current release listed there is a pre-release version for folks to test out and start contributing to if they would like to.&nbsp; The wiki on the GitHub site has the installation and configuration steps for the instance adapter listed as well.</p>
<p>The current version has not been changed from the previous version that was available last year.</p>
<p><a href="microsoft.github.io/Instance-Adapter-for-Microsoft-Dynamics-CRM">microsoft.github.io/Instance-Adapter-for-Microsoft-Dynamics-CRM</a></p>
<p>It should be noted that this adapter IS NOT supported by Microsoft support.&nbsp; This is a community-based project and as such, it is supported via the developer community at the above GiHub site.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Dynamics AX 2012 R3 Exchange rates not syncing properly</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/microsoft-dynamics-ax-2012-r3-exchange-rates-not-syncing-properly</link>
      <pubDate>Wed, 15 Apr 2015 15:14:43 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/2015/04/15/microsoft-dynamics-ax-2012-r3-exchange-rates-not-syncing-properly/</guid>
      <description><![CDATA[If you are troubleshooting why the exchange rates from Dynamics AX 2012 R3 are not syncing properly...]]></description>
      <content:encoded><![CDATA[<p>If you are troubleshooting why the exchange rates from Dynamics AX 2012 R3 are not syncing properly into Microsoft Dynamics CRM using Connector for Microsoft Dynamics, here is something for you to take a look at.</p>
<p>In Dynamics AX 2012 the query that is used by the Connector's AX 2012 adapter to retrieve the exchange rates from within Dynamics AX may need to be updated as follows:</p>
<ol>
<li>De-activate the AX Exchange Rate to Currency map in Connector</li>
<li>Open the Dynamics AX 2012 client</li>
<li>Press CTRL + D to open the AOT</li>
<li>Expand the Queries node and find the <strong>AxdConnExchRate</strong> query</li>
<li>Expand all of that query's data sources</li>
<li>On the Ledger data source, expand the Relations node</li>
<li>Select the Second relation, and view its properties</li>
<li>Change the Field property to be <strong>FromCurrencyCode</strong>, instead of <strong>ToCurrencyCode</strong></li>
<li>Save a compile the query</li>
<li>Reset the 'Check for data modified after date' to be a date prior to the exchange rates' effective dates and active the map</li>
<li>Click Save within Connector</li>
</ol>
<div>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/29/3223.AxdConnExchangeRateQuery.PNG" original-url="blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-29/3223.AxdConnExchangeRateQuery.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/29/3223.AxdConnExchangeRateQuery.PNG" original-url="blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-29/3223.AxdConnExchangeRateQuery.PNG" alt="" border="0" /></a></div>
<div><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/29/8400.FromCurrencyCode.PNG" original-url="blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-29/8400.FromCurrencyCode.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/29/8400.FromCurrencyCode.PNG" original-url="blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-29/8400.FromCurrencyCode.PNG" alt="" border="0" /></a></div>]]></content:encoded>
    </item>
    <item>
      <title>Preserving leading zeroes in numerical constant value mappings</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/preserving-leading-zeroes-in-numerical-constant-value-mappings</link>
      <pubDate>Wed, 25 Mar 2015 07:33:34 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/2015/03/25/preserving-leading-zeroes-in-numerical-constant-value-mappings/</guid>
      <description><![CDATA[If you need to map a numerical value to a constant value and that constant value has leading zeroes,...]]></description>
      <content:encoded><![CDATA[<p>If you need to map a numerical value to a constant value and that constant value has leading zeroes, those zeroes will be parsed off.&nbsp; For example, if want to map a&nbsp;numerical field&nbsp;to a constant value of 00000000115 and you enter a constant value in the mapping wizard, the transformation logic will truncate the leading zeroes.&nbsp; This results in a constant value of 115 instead of the desired value.&nbsp; There is a workaround for this behavior using the ReplaceAll() function.</p>
<p>For example you can map the numerical field as follows: =ReplaceAll(ABC0000000115, ABC, "").&nbsp; This will result in a string being returned from the function: "0000000115".&nbsp; When the transformation converts this string into a number, it will then preserve the leading zeroes.</p>]]></content:encoded>
    </item>
    <item>
      <title>Two new Microsoft Dynamics GP case studies have been published</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/two-new-microsoft-dynamics-gp-case-studies-have-been-published</link>
      <pubDate>Tue, 17 Mar 2015 13:54:25 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/2015/03/17/two-new-microsoft-dynamics-gp-case-studies-have-been-published/</guid>
      <description><![CDATA[Two new Microsoft Dynamics case studies have been published on&nbsp;the Microsoft&nbsp;Case studies...]]></description>
      <content:encoded><![CDATA[<p>Two new Microsoft Dynamics case studies have been published on&nbsp;the Microsoft&nbsp;Case studies web site.&nbsp; They both are Microsoft Dynamics GP customers who are using Connector for Microsoft Dynamics to integrate with Microsoft Dynamics CRM online.</p>
<p><a href="https://customers.microsoft.com/Pages/CustomerStory.aspx?recid=13">City Harvest Microsoft Dynamics case study</a></p>
<p><a href="https://customers.microsoft.com/Pages/CustomerStory.aspx?recid=18985">GEARYS Microsoft Dynamics Case study</a></p>
<p>There is a new list on the left hand side of the blog containing links to our case studies as well.</p>]]></content:encoded>
    </item>
    <item>
      <title>Mapping the full product name from Microsoft Dynamics AX to Microsoft Dynamics CRM</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/mapping-the-full-product-name-from-microsoft-dynamics-ax-to-microsoft-dynamics-crm</link>
      <pubDate>Mon, 23 Feb 2015 08:27:00 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/2015/02/23/mapping-the-full-product-name-from-microsoft-dynamics-ax-to-microsoft-dynamics-crm/</guid>
      <description><![CDATA[A new post has been authored on the Dynamics AX support blog on mapping the full product name from...]]></description>
      <content:encoded><![CDATA[<p>A new post has been authored on the Dynamics AX support blog on mapping the full product name from Dynamics AX into Dynamics CRM using Connector for Microsoft Dynamics.</p>
<p>The description of the post is as follows:</p>
<p>This blog post comes from&nbsp;a question in the Microsoft Dynamics AX community board at <a href="https://community.dynamics.com/ax/f/33/t/120425.aspx">https://community.dynamics.com/ax/f/33/t/120425.aspx</a>. The question was how to map the full Product Name and not the&nbsp;<strong>NameAlias</strong> field that is in the <strong>InventTable</strong> table. The&nbsp;<strong>NameAlias</strong> field is a shorter field so it does not give you as good as description.&nbsp;I had originally suggested to use a custom function and provided&nbsp;a sample for it. This&nbsp;custom function would call a new AIF service in AX that would pull the product name.</p>
<p>The full post can be viewed here: <a href="https://blogs.msdn.com/b/axsupport/archive/2015/02/22/map-the-full-product-name-from-dynamics-ax-for-the-crm-connector.aspx">blogs.msdn.com/b/axsupport/archive/2015/02/22/map-the-full-product-name-from-dynamics-ax-for-the-crm-connector.aspx</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Hotfix released for Microsoft Dynamics AX 2012 R3 that will allow changes to person name and sales order lines to be tracked with SQL change tracking</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/hotfix-released-for-microsoft-dynamics-ax-2012-r3-that-will-allow-changes-to-person-name-and-sales-order-lines-to-be-tracked-with-sql-change-tracking</link>
      <pubDate>Wed, 14 Jan 2015 08:21:49 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/2015/01/14/hotfix-released-for-microsoft-dynamics-ax-2012-r3-that-will-allow-changes-to-person-name-and-sales-order-lines-to-be-tracked-with-sql-change-tracking/</guid>
      <description><![CDATA[A hotfix has been released for Dynamics AX 2012 R3 that resolves the issue of changes to customer or...]]></description>
      <content:encoded><![CDATA[<p>A hotfix has been released for Dynamics AX 2012 R3 that resolves the issue of changes to customer or contact names not forcing a synchronization to occur within Connector for Microsoft Dynamics.&nbsp; This hotfix will also now allow changes to sales order lines to be tracked and force an update to occur within Connector.&nbsp; The hotfix can be found in the&nbsp;Life Cycle Services&nbsp;tool using the following link:</p>
<p><a href="https://fix.lcs.dynamics.com/Issue/Resolved/637045?kb=3026356&amp;bugId=3216334&amp;qc=6eac416111d73ae5569bab364b97ef52">https://fix.lcs.dynamics.com/Issue/Resolved/637045?kb=3026356&amp;bugId=3216334&amp;qc=6eac416111d73ae5569bab364b97ef52</a></p>
<p>The associated Dynamics AX 2012 R3 KB is&nbsp;<span class="light-gray">3026356.</span></p>
<p><span class="light-gray">After applying the hotfix you will need to compile the ConnectorHelper class and then run that class again.</span></p>
<p><span class="light-gray">This hotfix only applies to Microsoft Dynamics AX 2012 R3.</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Connector for Microsoft Dynamics configuration settings that can be used to control some of the default behaviors for logging and retries</title>
      <link>https://docs.microsoft.com/archive/blogs/dynamicsconnector/connector-for-microsoft-dynamics-configuration-settings-that-can-be-used-to-control-some-of-the-default-behaviors-for-logging-and-retries</link>
      <pubDate>Tue, 13 Jan 2015 07:30:00 GMT</pubDate>
      <dc:creator><![CDATA[thehetz]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dynamicsconnector/2015/01/13/connector-for-microsoft-dynamics-configuration-settings-that-can-be-used-to-control-some-of-the-default-behaviors-for-logging-and-retries/</guid>
      <description><![CDATA[There are some configuration settings that can be added or changed in the...]]></description>
      <content:encoded><![CDATA[<p>There are <span style="font-size: small;">some</span> configuration settings that can be added or changed in the ConnectorServiceHost.exe.config to update default behavior with respect to retries and log cleanup; they are as follows:<span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;</span></span></p>
<table style="border: 1px solid black;" border="1" cellspacing="0" cellpadding="1">
<tbody>
<tr>
<td valign="top" width="220">
<p align="center"><span style="font-family: arial,helvetica,sans-serif;">Config Setting</span></p>
</td>
<td valign="top" width="709">
<p align="center"><span style="font-family: arial,helvetica,sans-serif;">Behavior</span></p>
</td>
<td valign="top" width="697">
<p align="center"><span style="font-family: arial,helvetica,sans-serif;">Remarks&nbsp;</span></p>
</td>
</tr>
<tr>
<td valign="top" width="220">
<p><span style="font-family: arial,helvetica,sans-serif;">HousekeepingCleanupLogs</span></p>
</td>
<td valign="top" width="709">
<p><span style="font-family: arial,helvetica,sans-serif;"><strong>True</strong>: The Housekeeping task should run CleanupLog.proc.sql and CleanupRetryTask.proc.sql</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;"><strong>False</strong>: The Housekeeping task will run only run CleanupTaskDeletionTracking.proc.sql (<span style="color: #ff0000;">not recommended</span>)</span></p>
</td>
<td valign="top" width="697">
<p><span style="font-family: arial,helvetica,sans-serif;"><span style="color: #ff0000;">Caution</span>:&nbsp;Log entries and expired Retries&nbsp;can degrade overall system performance if this setting is <strong>False</strong></span></p>
</td>
</tr>
<tr>
<td valign="top" width="220">
<p><span style="font-family: arial,helvetica,sans-serif;">HousekeepingStartTime</span></p>
</td>
<td valign="top" width="709">
<p><span style="font-family: arial,helvetica,sans-serif;">The time of day the housekeeping task should run, default is&nbsp;DateTime.UtcNow() or service start time</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">It may make sense to set this to a time of day that has less load, such as a time after normal business hours</span></p>
</td>
<td valign="top" width="697">
<p><span style="font-family: arial,helvetica,sans-serif;">Connector uses the DateTime.TryParse() method to parse this setting,&nbsp;see this article for the proper string format. </span></p>
<p><span style="font-family: arial,helvetica,sans-serif;"><a href="https://msdn.microsoft.com/en-us/library/ch92fbc1(v=vs.110).aspx"><span style="color: #0563c1;">msdn.microsoft.com/en-us/library/ch92fbc1(v=vs.110).aspx</span></a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">If&nbsp;the setting can't be parsed then the default of&nbsp;DateTime.UtcNow() is used for this setting</span></p>
</td>
</tr>
<tr>
<td valign="top" width="220">
<p><span style="font-family: arial,helvetica,sans-serif;">HousekeepingRunImmediately</span></p>
</td>
<td valign="top" width="709">
<p><span style="font-family: arial,helvetica,sans-serif;"><strong>True</strong>: Housekeeping should run immediately upon service start (Default)</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;"><strong>False</strong>: Housekeeping task should wait until next scheduled run time after service start</span></p>
</td>
<td valign="top" width="697">
<p><span style="font-family: arial,helvetica,sans-serif;">&nbsp;</span></p>
</td>
</tr>
<tr>
<td valign="top" width="220">
<p><span style="font-family: arial,helvetica,sans-serif;">HousekeepingExpireDayOffset</span></p>
</td>
<td valign="top" width="709">
<p><span style="font-family: arial,helvetica,sans-serif;">First usage: Number of days to keep retries that have completed successfully (Default = 3 days) </span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Second usage: Number * 2 = days to keep retries that were stopped by the user or ran out of retry attempts (Default = 3 *2 = 6) </span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Making this value smaller gives you less time to restart failed records; making it larger will give you more time to see the log. </span></p>
</td>
<td valign="top" width="697">
<p><span style="font-family: arial,helvetica,sans-serif;">Be aware that Making this number too large can affect performance as retries that have run out of attempts over time can degrade overall system performance</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family: arial,helvetica,sans-serif;">&nbsp;</span><span style="font-family: arial,helvetica,sans-serif;">Task Scheduling configuration settings:</span></p>
<table style="border: 1px solid black;" border="1" cellspacing="0" cellpadding="1">
<tbody>
<tr>
<td valign="top" width="221">
<p><span style="font-family: arial,helvetica,sans-serif;">ConcurrentRetryTaskLimit</span></p>
</td>
<td valign="top" width="708">
<p><span style="font-family: arial,helvetica,sans-serif;">Number of concurrent Retries the system will queue</span></p>
</td>
<td valign="top" width="696">
<p><span style="font-family: arial,helvetica,sans-serif;">Also&nbsp;number of connections to Microsoft Dynamics CRM that could potentially be created at any given time</span></p>
</td>
</tr>
<tr>
<td valign="top" width="221">
<p><span style="font-family: arial,helvetica,sans-serif;">MaximumRetries</span></p>
</td>
<td valign="top" width="708">
<p><span style="font-family: arial,helvetica,sans-serif;">Maximum&nbsp;attempts a given retry will make before stopping and waiting for the user interaction to resolve the issue</span></p>
</td>
<td valign="top" width="696">
<p><span style="font-family: arial,helvetica,sans-serif;">&nbsp;</span></p>
</td>
</tr>
<tr>
<td valign="top" width="221">
<p><span style="font-family: arial,helvetica,sans-serif;">RetryInterval</span></p>
</td>
<td valign="top" width="708">
<p><span style="font-family: arial,helvetica,sans-serif;">Number&nbsp;of seconds from initial attempt to first and second retry attempts, Default = 5</span></p>
</td>
<td valign="top" width="696">
<p><span style="font-family: arial,helvetica,sans-serif;">RetryInterval ^ CurrentRetryAttempt</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">5 to 5^MaximumRetries</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family: arial,helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
  </channel>
</rss>