Salesforce to Dynamic CRM migration using ADF.

Earala, Prasad 0 Reputation points
2025-08-05T15:04:17.99+00:00

Hi Team ,

i am working on Salesforce to Dynamic CRM migration using ADF .

while creating the New Linked service using Salesforce V2 in ADF , we have encounter below issue.

Below are the screenshots. Could you please help us to resolve the issue ?

User's image

Error information :

Error code23063

DetailsUnable to establish connection to the Salesforce environment using provided client id and client secret, please verify the details. Error message: {"error":"invalid_grant","error_description":"no client credentials user enabled"}

Activity ID394e6ebd-d34f-4f12-9393-cd75152de3c9

Salesforce Client ID & Client Secret detailsUser's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

1 answer

Sort by: Most helpful
  1. Pratyush Vashistha 975 Reputation points Microsoft External Staff Moderator
    2025-08-06T08:06:07.1033333+00:00

    Hello Earala, Prasad!

    Thanks for your quick response!

    For such error: {"error":"invalid_grant","error_description":"no client credentials user enabled"}

    Could you please try the following steps in order to resolve this issue.

    1. Make sure “Client Credentials Flow” is turned on
      • This setting must be enabled in your Connected App configuration. User's image
    2. Click the “Manage” button on the Connected App
      • This opens the settings for the app.
    3. Go to “Edit Policies”
      • This is where you can adjust access and security settings.
    4. Find the “Client Credentials Flow” section
      • Here, you’ll see an option called “Run As”.
    5. Choose a user for the “Run As” option
      • Select a user account that has API Only access enabled.
      • This user will be used to authenticate API calls made through the client credentials flow. User's image
    6. Don’t update the old or existing used Connected App. Create a new one.
    7. Make sure Consumer Key and Consumer Secret values are correct for the client_id and client_secret keys.

    Please let me know if this works for you. Please "Accept as Answer" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    Thanks and Happy to Help!

    Pratyush


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.