Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

How to use ServiceClient (Microsoft.PowerPlatform.Dataverse.Client) via a webproxy

Posted on by

We have C# code that read and writes data in CRM online, using ServiceClient (as found in Microsoft.PowerPlatform.Dataverse.Client; currenty I use version 1.0.4).

From my development system this works fine. However, the machine where the code is to run eventually can only connect to internet via a webproxy.  

Now my question is: how can I make it clear to ServiceClient to access my Dynamics online environment via this webproxy?

 

I already tried adding <system.net> containing a <defaultproxy> section in app.config, but that gives a runtime error (apparently this is not supported anymore; see c# - Unrecognized configuration section system.net (.NET 6/.NET Core) - Stack Overflow)

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans