web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Plugin Registration Tool - Connecting behind Company Proxy Issue

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I am trying to connect to my Dynamics 365 environment of the cloud with the Plugin Registration tool (and other CRM 365 sdk tools), but am unable to do so due to my company's proxy blocking the connection. I read in other posts, that this can be resolved by adding the following changes to the config file of the Plugin Registration tool:

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

I tried doing, however the problem still persists. How our proxy setup works, is that normally when I try to access an external URL, I get a pop-up to enter my employee credentials. Once those credentials are entered, access to the URL is granted. In this scenario, I do not get a pop-up or anything like that. Looking at the Plugin Registration Tool's logs, I see the following error:

Error Message: Failed to get credentials from Windows Vault

Looks like there may be a policy in place on our computers to perhaps block the retrieval of a currently logged in user's credentials. Does anybody know a way around this? I wish the CRM 365 SDK tools has an option to specify proxy credentials like the XRMToolbox does (which works by the way, when I enter our proxy info and my personal credential in the XRMToolbox's proxy settings tab). And before you tell me to simply use the XRMToolbox since that one works; that tool has not yet been approved for usage by our company's software policy team, and therefore I cannot use it at the moment. Only the CRM 365 tools have been approved so far.

I've tried multiple different options within the Plugin Registration Tool's config file to work, but nothing seems to do the trick. I've tried things like:

<system.net>
    <defaultProxy enabled="true" useDefaultCredentials="true" >
        <proxy proxyaddress="[Our Company's Proxy server address]"/>
    </defaultProxy>
</system.net>

<system.net>
    <defaultProxy enabled="true" useDefaultCredentials="false" >
        <proxy proxyaddress="[Our Company's Proxy server address]"/>
    </defaultProxy>
</system.net>

All generate the same error as above. Is there a way to specify credentials in the config file for the proxy or does anybody have any workaround?

Any insight you can provide would be greatly appreciated.

Thank you all in advance.

I have the same question (0)
  • Galifatorss Profile Picture
    5 on at

    This indicates that the tool is not able to retrieve the necessary credentials from the Windows Vault. One possible solution would be to try entering your credentials manually. Another option would be to contact your IT department to see if they can allowlist the Plugin Registration Tool or make any other necessary changes to the proxy setup. For example, I am using the proxies from https://shiftproxy.io that allows me to connect without problems. They have an inbuilt soft where it is straightforward to set anything up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Subra Profile Picture

Subra 127

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 97 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 87

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans