Data Factory to Salesforce using JWT

Ryan Abbey 0 Reputation points
2024-05-02T04:49:26.07+00:00

Hi All,

We've been set with the requirement of authenticating with Salesforce via JWT. For the most part, this is set up and we can get an access token returned, however, how do we access Salesforce once we have the token? Does it have to be through a HTTP request? I can't see an option within the Salesforce linked service/dataset/copy/lookup to provide the token so fearing it all has to be done via HTTP, please someone save me!

Thanks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,625 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 33,071 Reputation points Volunteer Moderator
    2024-05-02T20:59:12.39+00:00

    The current ADF salesforce connector only supports username and password properties for authentication.

    Salesforce OAuth 2.0 is not supported in current ADF Salesforce connector. Here is an already logged feature request from other user in IDEAS forum. Please feel free to up-vote and comment on it to help increase the priority of it. Salesforce Connector in ADF - support OAuth2.0 To work around you may explore custom activity in ADF which will be helpful for scenarios where the service isn't supported natively. Please note this requires you to write your own custom code and call it from this activity.

    https://learn.microsoft.com/en-us/answers/questions/1289264/how-to-connect-salesforce-from-azure-data-factory


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.