If you need to assign a permission set to multiple users at once, the fastest option is Data Loader. To do this, you'll need to prepare a CSV file with two column headers (User Id & Permission Set Id).
| Warning Always back up your data before performing any data operation. See Export Backup Data from Salesforce or Export Data for more details. It is recommended to run a test with a small subset of records to ensure the operation was successful through manually opening and verifying that the corresponding records are correct in Salesforce. |
If you're only assigning one permission set, find the ID for that permission set under Setup:
The permission set ID will be a 15-digit ID that starts with 0PS.
If you're assigning multiple permission sets, it may be easier to export a list of IDs using Data Loader:
Once you have a list of the permission set and user IDs, create a new CSV file containing two columns:
Note: If one users needs to be assigned multiple permission sets, each assignment should be added to the CSV file as a separate row.
To mass assign existing Users to new permission set using Data Loader
Note: If you are getting an error "Can't complete this operation because it would exceed the number of apps allowed by the user license." while assigning multiple users to the permission set with application license assignment included in it. Kindly reduce the Batch Size: '1' and it will be resolved.
See also
Insert, Update, or Delete Data Using Data Loader
000384595

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.