top of page
Search

Using PluginRegistrationTool and XrmToolBox plugins behind proxy

admin

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.

<configuration>
  <system.net>
    <defaultProxy enabled="true" useDefaultCredentials="true">
    </defaultProxy>
  </system.net>
  ...
</configuration>

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.


0 comments

Recent Posts

See All

Microsoft bug causing Flow not triggering

We built a little over a hundred automated Microsoft Flows connected to Dynamics 365 Online. Many were triggered by simple Create, Update...

Comments


bottom of page