top of page
  • admin

Using PluginRegistrationTool and XrmToolBox plugins behind proxy

When working for a large organisation, your development machine would most likely be behind a proxy server for obvious security reason.

Simply running the PluginRegistrationTool or some XrmToolBox plugins such as Early Bound Generator by D La B to connect to Dynamics 365 Online instance, you will be getting error similar to below

Error: You don't have permission to access any of the organizations in the Microsoft Common Data Service region that you specified. If you're not sure which region your organization resides in, choose "Don't know" for the CDS region and try again. Otherwise check with your CDS administrator.

Error: The remote server returned an error: (407) Proxy Authentication Required.

To resolve this error, simply find the .config file for the application and add the following lines within the <configuration> element.

    <defaultProxy enabled="true" useDefaultCredentials="true">

For PluginRegistrationTool, the .config file is simply in the same folder.

For XrmToolBox, navigate to its plugin folder, eg. C:\Users\<username>\AppData\Roaming\MscrmTools\XrmToolBox\Plugins then locate the folder of the plugin you use.

For the Early Bound Generator, open the crmsvcutil.exe.config in text editor and insert the above xml configuration.

That's it for now.


Recent Posts

See All

Using FetchXmlBuilder to generate OData query

Quite often, we need to specify the attributes to select or the filter conditions on related entities in DataVerse connector in Microsoft Flow. Expand Query is exactly where we can specify those. Howe

Adding custom PCF control to Dynamics 365 CE form

PCF Gallery ( has a great list of PCF controls available to use - both free and payable controls. Once you have imported the solution to your Dynamics 365 environment, you have to


bottom of page