Here are steps that help you upgrade your linked service and related queries:
- Configure the connected apps in Salesforce portal by referring to Prerequisites.
- Create a new Salesforce linked service and configure it by referring to Linked service properties.
- If you use SQL query in the copy activity source or the lookup activity that refers to the legacy linked service, you need to convert them to the SOQL query. Learn more about SOQL query from Salesforce as a source type and Salesforce Object Query Language (SOQL).
- readBehavior is replaced with includeDeletedObjects in the copy activity source or the lookup activity. For the detailed configuration, see Salesforce as a source type.
Differences between Salesforce and Salesforce (legacy)
For the unsupported objects, you can use the Salesforce REST API or SOAP API to retrieve the data. These APIs do not have the same limitations as the Bulk API. You can set up custom pipelines in Azure Data Factory to utilize these APIs.
Using REST API:
- Create an HTTP Linked Service in Azure Data Factory to connect to Salesforce.
- Create a Web Activity or Copy Activity to call the REST API endpoint and retrieve the data.
Using SOAP API:
- Similar to the REST API, create an HTTP Linked Service and use a Web Activity or Copy Activity to retrieve data. Using REST API:
- Create an HTTP Linked Service in Azure Data Factory to connect to Salesforce.
- Create a Web Activity or Copy Activity to call the REST API endpoint and retrieve the data.