Loading

Error 'Your administrator has blocked access to this client' in Data Loader

Дата публикации: Oct 13, 2022
Описание
A user's ability to connect to their Salesforce organization using the Data Loader can be controlled by the Data Loader Partner and Data Loader Bulk Connected App settings.

By default, these Connected Apps are set to allow individual users to self-authorize and connect with Data Loader without any additional configuration. If a system administrator sets the Permitted Users setting to the "Admin approved users are pre-authorized" value, only users who are granted access either on their Profile or by Permission Set will be able to connect to the organization with the Data Loader. 

Note: This restriction applies to system administrators as well as other kinds of users.

A user who hits the Connected App restriction when logging in via Data Loader, will receive this error message:

Sorry, your administrator has blocked access to this client.
 
 
Решение

End users may need to reach out to their Salesforce organization's system administrator(s) for assistance.

There are multiple ways that a system administrator can allow user access to Data Loader.

1. If the Connected App restriction was set in error, then reverting the setting to allow all users to self-authorize will enable all users in the organization to login with the Apex Data Loader.
  1. Navigate to Setup and enter Connected Apps into the Quick Find box.
  • In Lightning Experience, click Manage Connected Apps
  • In Salesforce Classic, click Connected Apps
  1. Click on the appropriate Connected App (for example, Data Loader Partner or Data Loader Bulk).
  2. Click on Edit.
  3. Under OAuth policies, change the "Permitted Users" picklist to "All users may self-authorize"
  4. Click Save.


2. Assign the appropriate Connected App to the user, either by Profile or by Permission Set. 

These instructions are for controlling access by Profile using the enhanced Profile Editor. 
  1. Navigate to Setup and enter Profiles into the Quick Find box
  2. Click Profiles
  3. Click on the profile name (such as System Administrator or Standard User)
  4. Click on Assigned Connected Apps
  5. Click Edit
  6. Under "Installed Connected Apps" highlight the name of the apps or apps to be assigned to this profile (such as Dataloader Bulk or Dataloader Partner).
  7. Click Add
  8. Click Save
     
The process for doing this by permission set is similar to the steps above, once you have created the Permission Set.


See Also:
Номер статьи базы знаний

000387698

 
Загрузка
Salesforce Help | Article