I cant connect to salesforce using ADF receiving error "name cannot be resolved"
I have a data factory that I create with C# SDK including linked services, datasets and running the pipeline itself with its activities. The problem is when I start a pipeline run I receive the following error.
"
Operation on target copy for Customer failed: ErrorCode=SalesforceHttpRequestFailure,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Network exception in sending request to Salesforce. Error message: An error occurred while sending the request.,Source=Microsoft.DataTransfer.Runtime.SalesforceConnector,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=The remote name could not be resolved: 'microsoft.azure.management.datafactory.models.expression',Source=System,'
"
I provide for the pipeline run a parameter with the url of salesforce, and I am sure its correct, I searched all internet can't find a working solution for it.
Also I use the default azure integration runtime and I added the East US 2 IP ranges to the whitelist of IPs in salesforce.
appreciate your help.