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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans