Outgoing connection via proxy with Dataverse

ALAN CAVERO 0 Reputation points
2023-11-09T10:30:11.2433333+00:00

Hello everyone.

Our client wants to use their own proxy (url) to connect to the Dataverse or at least the outgoing connection has to go through their proxy. We are use an Azure Function where the current connection we use an IOrganizationService object and it is instantiated with ServiceClient where we pass the ClientSecret, ClientId as parameters.

Is there any way to put that proxy url into the connection?

Thank you very much for the help.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,206 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MuthuKumaranMurugaachari-MSFT 22,361 Reputation points
    2023-11-09T21:23:16.3933333+00:00

    ALAN CAVERO Thanks for posting your question in Microsoft Q&A. If your Azure Function is in Premium, Dedicated or App Service plans, then using Regional Virtual Integration feature, you can force all outbound traffic to be sent into your proxy using Route tables (UDRs) or block using Network Security Groups (NSGs). The consumption plan doesn't support this feature and please review the limitations described in the doc when using this feature.

    User's image

    If you are looking to add a proxy in your SDK code for ServiceClient similar to CrmServiceClient.OrganizationWebProxyClient Property, then I don't see this is supported based on the SDK doc. However, this question is best answered by PowerApps experts, and I see you have already posted this question in Outgoing connection via proxy thread in the PowerApps Community. They can assist you further on that.

    Note: PowerApps is not supported in Microsoft Q&A and here are the supported products lists.

    I hope this helps and if you have any questions on Azure Functions, feel free to reach out.


    If you found the answer to your question helpful, please take a moment to mark it as Yes for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.