IFD Connection

Aug 10, 2011 at 7:37 PM

Tanguy: Thanks for this tool - it's very helpful. A note to anyone trying to connect to IFD, if you didn't use the standard naming convention for your discovery service URL, you can change the code and rebuild the solution in order to get the connection working. In the crmservicehelpers.cs file, locate the following segment of code, and replace "disc" with the appropriate subdomain alias. For example, my discovery service endpoint was at https://crmd.mydomain.com. So I replaced 'disc' in the line below with 'crmd' and rebuilt the solution (had to add the references back to the Xrm dll's, too).

Again, great tool!
Matt Wittemann

else if (detail.UseIFD)
                    config.DiscoveryUri = new Uri(String.Format("{0}://disc.{1}/XRMServices/2011/Discovery.svc",
                        detail.UseSsl ? "https" : "http",
                        config.ServerAddress.Remove(0, config.ServerAddress.IndexOf('.') + 1)));
Dec 6, 2011 at 11:56 PM

Thanks for the tip.  The tool should have had this built-in as an option and shouldn't require a recomplie, this feature should be added in future updates.

Dec 7, 2011 at 6:59 AM

Hi Rickcau,

If you would have read the documentation and tested the latest version, you should have seen that the tool now allows you to specify the custom prefix for discovery service...

You now specify a server name like : myCustomDisco.myDomain.myExtension