XrmToolBox
XrmToolBox copied to clipboard
Proxy Authentication Required issue with XRMToolBox
I can connect to CRM by creating a connection and I confirm that it is connected at the bottom of XRMToolBox app. but when I click on Plugins Store, I instantly receive 'The remote server returned an error: (407) Proxy Authentication Required. I was hoping that it will be picked from my IE settings.
Use option in Plugins Store form to define a proxy
I tried this but then I get promted to restart the tool. and when I do, I no longer remembers my details
Is there a way of saving proxy user credentials in the config file because it doesn't remember them when I manually type in?
I can confirm with ahmet269. Settings in XRM Tool Box and in the PlugIn store are forgotten on exit.
when doing the latest update (and previous ones) on a client site that has a forced proxy with forced authentication, whilst the XRMToolbox works fine with the proxy, I get a 407 Proxy Authentication Required from XrmToolbox.Autoupdater.exe
Does the Auto Update exe also use the system proxy settings (or those in xrmtoolbox?)
Can you try to add an XrmToolBox.AutoUpdater.exe.config file with the following content:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy autoDetect="True" bypassonlocal="False" />
</defaultProxy>
</system.net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.8.0" newVersion="5.2.8.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.29.0.1078" newVersion="2.29.0.1078" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.1.3" newVersion="4.1.1.3" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Unfortunately, no cigar. I finally have a pending update on that client's workstation. I had to create the config file, and pasted the above content and still got the 407 Proxy Auth Required error. :(
The above XML could also be adapted to provide explicit details about required proxy but I don't know what these details are so you will need to check with your IT
I'll have to try that next time I am with that client.
Hi @MscrmTools I tried to set the proxy in the settings options but it's not saved.
Set the proxy > click ok > re-open the settings > the proxy disappears ^^
Also adding XrmToolBox.AutoUpdater.exe.config not working on my side. Could you help on this point?