{"id":5723,"date":"2017-05-29T19:17:04","date_gmt":"2017-05-29T13:47:04","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=5723"},"modified":"2017-05-29T19:17:04","modified_gmt":"2017-05-29T13:47:04","slug":"unable-to-connect-ifd-crm-using-plugin-registration-tool","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2017\/05\/unable-to-connect-ifd-crm-using-plugin-registration-tool\/","title":{"rendered":"Unable to connect IFD CRM using Plugin Registration Tool"},"content":{"rendered":"<p style=\"text-align: justify;\">When we setup IFD configuration for <strong>Dynamic 365<\/strong> it doesn\u2019t always go smoothly.<\/p>\n<p style=\"text-align: justify;\">Sometimes, after configuring IFD, the CRM connects through the web client, but it does not connect using Plugin Registration Tool.<\/p>\n<p style=\"text-align: justify;\">The below message is displayed while connecting CRM using Plugin Registration Tool:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/05\/Unable-to-connect-IFD-CRM-using-Plugin-Registration-Tool-1.jpg\"><img decoding=\"async\" class=\"alignnone  wp-image-5724\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/05\/Unable-to-connect-IFD-CRM-using-Plugin-Registration-Tool-1.jpg\" alt=\"Unable to connect IFD Dynamics CRM using Plugin Registration Tool\" width=\"509\" height=\"218\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">We have faced this\u00a0issue\u00a0many times and have found various solutions!<\/p>\n<p style=\"text-align: justify;\">Below are three possible solutions to fix the issue. One of these has most often worked in resolving this issue.<\/p>\n<p style=\"text-align: justify;\">In the three cases mentioned below, our window server version was <strong>\u201cWindows Server 2012 R2\u201d.<\/strong><\/p>\n<p style=\"text-align: justify;\">And ADFS version=<strong>\u201c6.3.0.0\u201d.<\/strong><\/p>\n<h4 style=\"text-align: justify;\"><strong>Solution 1:<\/strong><\/h4>\n<p style=\"text-align: justify;\">We have changed the port number <strong>\u201c<\/strong><strong>nettcpport<\/strong><strong>\u201d<\/strong> property of the ADFS.<\/p>\n<p style=\"text-align: justify;\">To change the port number you need to run the below command PowerShell.<\/p>\n<p style=\"text-align: justify;\"><strong>Powershell command: <\/strong><\/p>\n<p style=\"text-align: justify;\">Set-ADFSProperties \u2013nettcpport 809<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/05\/Unable-to-connect-IFD-CRM-using-Plugin-Registration-Tool-2.jpg\"><img decoding=\"async\" class=\"wp-image-5725  aligncenter\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/05\/Unable-to-connect-IFD-CRM-using-Plugin-Registration-Tool-2.jpg\" alt=\"nable to connect IFD CRM using Plugin Registration Tool\" width=\"644\" height=\"145\" \/><\/a><strong>Solution 2:<\/strong><\/p>\n<p style=\"text-align: justify;\">This<strong> &#8220;\/adfs\/services\/trust\/13\/username&#8221;<\/strong> endpoint in the Adfs was <strong>not<\/strong> enabled.<\/p>\n<p style=\"text-align: justify;\">So, we have enabled the <strong>&#8220;\/adfs\/services\/trust\/13\/username&#8221;<\/strong> endpoint in the Adfs.<\/p>\n<p style=\"text-align: justify;\">To enable, Open the adfs and go to <em><strong>Service&gt;Endpoints,\u00a0<\/strong><\/em>select the endpoint, right-click and enable it.<\/p>\n<p style=\"text-align: justify;\">The endpoint is now enabled as seen in the screenshot below;<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/05\/Unable-to-connect-IFD-CRM-using-Plugin-Registration-Tool-3.jpg\"><img decoding=\"async\" class=\"wp-image-5726 aligncenter\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/05\/Unable-to-connect-IFD-CRM-using-Plugin-Registration-Tool-3.jpg\" alt=\"Unable to connect IFD CRM using Plugin Registration Tool \" width=\"730\" height=\"293\" \/><\/a><\/p>\n<p><strong>Solution 3:<\/strong><\/p>\n<p style=\"text-align: justify;\">We have updated ActiveMexEndpoint address using same matching endpoint address in the <strong>\u201cFederationProvider\u201d<\/strong> table in MSCRM_CONFIG database. Since the ActiveMexEndpoint in Adfs is not matching with the address stored in CRM database.<\/p>\n<p style=\"text-align: justify;\">The ActiveMexEndpoint in ADFS is as seen in the screenshot below;<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/05\/Unable-to-connect-IFD-CRM-using-Plugin-Registration-Tool-4.jpg\"><img decoding=\"async\" class=\"wp-image-5727 aligncenter\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/05\/Unable-to-connect-IFD-CRM-using-Plugin-Registration-Tool-4.jpg\" alt=\"Unable to connect IFD CRM using Plugin Registration Tool\" width=\"679\" height=\"347\" \/><\/a>Use the below SQL query to update table:<\/p>\n<pre class=\"lang:default decode:true\">&lt;Query&gt;\n\nupdate FederationProvider\n\nset ActiveMexEndpoint = 'https:\/\/&lt;adfs url&gt;\/adfs\/services\/trust\/mex'\n\n&lt;\/Query&gt;<\/pre>\n<p><strong>An example of address:<\/strong><\/p>\n<p style=\"text-align: justify;\">https:\/\/adfs.adventure.com\/adfs\/services\/trust\/mex<\/p>\n<blockquote>\n<p style=\"text-align: justify;\"><strong><em>Note: This 3<sup>rd<\/sup> solution, only applies if ActiveMexEndpoint address of Adfs is different than stored address in CRM table.<\/em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\">Hope this helps!<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.inogic.com\/product\/productivity-pack\/click-2-clone-microsoft-dynamics-crm-records\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-5734\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/05\/Click2Clone-Promo.jpg\" alt=\"Click2Clone - Copy\/clone Microsoft Dynamics CRM\/Dynamics 365 records\" width=\"825\" height=\"102\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When we setup IFD configuration for Dynamic 365 it doesn\u2019t always go smoothly. Sometimes, after configuring IFD, the CRM connects through the web client, but it does not connect using Plugin Registration Tool. The below message is displayed while connecting CRM using Plugin Registration Tool: We have faced this\u00a0issue\u00a0many times and have found various solutions!\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2017\/05\/unable-to-connect-ifd-crm-using-plugin-registration-tool\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":5735,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[16,19,29,42],"tags":[1327,1745],"class_list":["post-5723","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365","category-dynamics-crm","category-ifd","category-plugin","tag-plugin-registration-tool","tag-unable-to-connect-ifd-crm"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/5723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=5723"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/5723\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/5735"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=5723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=5723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=5723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}