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 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans