Hello @Madhavan Alagesan,
It looks like you are trying to use the Salesforce Connection credentials to pull object data(OAuth Flow). I hope this helps with your initial query!
You might have already created the Salesforce Connected APP!
You might have already tested the Access_Token via Postman!
Use the Access_Token to get the Salesforce Object:
The above 2 steps can be executed in ADF using the WebActivity, which i have shown in the below section.
ADF: Linked Service which uses in-built Salesforce Connector!
Copy Data Activity:
Source: Use Salesforce Linked Service to Connect and get the Source DataSet
Source
Sink
Mapping:
Below ADF Pipeline Shows the implementation and usage of oAuth2 with Salesforce in 2 ways:
- Web Activity-->GetToken--Web Activity-->GetEmployeeDetails-->Do the Mapping from the Json to SINK dataset.
- CopyData Activity-->Use Salesforce Linked Services--Use UserName+Password+Consumer Key+Secret+SecurityToken--Mapping Source&Sink
If the response is helpful, please click "Accept Answer" and upvote it. So that we can close this thread.