How to disable server side validation when using web activity in DataFactory

Nagarajan, Anand 26 Reputation points
2021-01-19T22:41:37.503+00:00

We are planning to use data factory to fetch data from an API . The API provider has implemented a Client Credentials apporach where we will have to first call an API with a client secret and Client password to obtain a token . The obtained token will be used subsequently used with other Api calls to get data.

Our challenge here is that when we try to call the API to get the tokens , the web activity returns a 2108 error and it turns out the issue is due to the fact that server side validation certification fails and we are unable to figure out how to the disable server side validation in the web api.

Please note that the same call works in Postman when the server side validation is disabled.

Could you guide us how we can overcome this problem , is using webapi justified or is there any other activity that is more apt for this and means to use the same
58312-config.png
Note that we have set the header to the correct Content type and have included the granttype , client_id and client_secret values without quotes in the body

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,625 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,939 questions
{count} votes

Accepted answer
  1. HarithaMaddi-MSFT 10,146 Reputation points
    2021-01-25T09:14:45.107+00:00

    Hi @Nagarajan, Anand ,

    Thanks for your patience. Product team mentioned it as a bug and they are working on fixing it by having an approach to add the following feature flag to the end of the data factory URL which will allow to select an option in the web activity to disable cert validation as below. This will be available in future releases of data factory and please follow the updates page to check this once available.

    &feature.disableWebCertValidation=true  
    

    A new option will appear once the url is appended in web activity as below, please check the box, save and publish your pipeline, then, try executing it again.

    60129-image.png

    Please let us know for further queries and we will be glad to assist.

    --

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.

0 additional answers

Sort by: Most helpful

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.