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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

407 Proxy Authentication Required when trying to call a web service inside a Plugin

(0) ShareShare
ReportReport
Posted on by 734

Hello,

We are running into a 407 Proxy Authentication Required problem when we try to call a webservice inside a plugin, we tried to modify the server's proxy or to set the default credentials inside C# code but still get the same problem.

using (WebClientEx client = new WebClientEx())

                    {

                       /client.Timeout = 60000;
client.Headers.Add(HttpRequestHeader.ContentType, "application/json");
licenseResposeJSON = client.UploadString(Url.ToString(), "1");

                    }

The problem only resides on the production envirennement. is it related to a firewall or some physical constraint? but we still can not sport the exact cause.

Thanks 

*This post is locked for comments

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
NeerajPawar Profile Picture

NeerajPawar 2

#2
jlattimer Profile Picture

jlattimer 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans