Loading

Error: “This permission set contains an object that requires a license. Before continuing, assign the user to the related permission set license.”

게시 일자: Jan 27, 2026
상세 설명

When assigning or modifying permission sets, a license validation error appears if the user has not been assigned the proper Permission Set License (PSL). The system permissions for either View All Data (VAD) or Modify All Data (MAD) can cause similar errors after upgrading from CPQ 224 or CPQ 226 to a newer version. Permission sets granting access to Salesforce CPQ or Advanced Approvals Licensed Custom Objects (LCO) allows users to interact with each respective package. These two system permissions grant access to all objects, including CPQ and Advanced Approvals. Without a relevant license assigned, users may encounter validation errors similar to the ones triggered in the following scenarios:

  • When assigning a custom permission set, which includes the system permissions VAD or MAD, to an unlicensed CPQ or Advanced Approvals user will result in the following error:
"Please fix the following:
Can't assign permission set [PERMISSION SET NAME] to user [USER NAME]. The permission set contains an object that requires a license. Before continuing, assign the user to the related permission set license."
  • When modifying a custom permission set to add the system permissions VAD or MAD, all assigned users of the permission set must be licensed. If an unlicensed user belongs to the permission set being updated, you will see a similar license validation error:

"This permission set contains an object that requires a license. Before continuing, assign the user to the related permission set license."

  • Assigning a permission set that includes a user license such as Salesforce to a user or permission set group (when an assigned user also has the Permission Set License "Salesforce CPQ License". The additional user license conflicts with permissions to access CPQ licensed custom objects. To resolve this behavior, grant CPQ users a permission set that does not include a license.

 

Note - this error also occurs in the following scenarios: 

  • The permission set grants View All Fields on one of the CPQ licensed custom objects. View All Fields cannot be granted to CPQ users. To quickly give users permissions to view all fields, check the View All Fields permission to grant Read access to the object's fields. Before saving, uncheck the View All Fields permission and Read Access for each field remains checked. 
  • This error also occurs if a Salesforce Managed Package is installed without active licenses provisioned on account. You can verify if the licensed Objects were properly provisioned by navigating to: Setup > User > navigate to the desired User > navigate to the Permission Set License Assignments related list > Edit > verify that you can see the Objects for the Objects provisioned by the Permission Set License. If you cannot see the Objects, then you're impacted by this Known Issue.
솔루션

To resolve the errors in the scenarios above, either the permissions to CPQ or AA licensed objects must be removed from the permission set or all assigned users must also be assigned the appropriate license. The steps below show how to create a custom permission set to grant permissions similar to View All Data (VAD) or Modify All Data (MAD) while excluding access to the licensed objects for CPQ or Advanced Approvals:

CPQ - Licensed Custom Objects

  • Price Rule
  • Pricing Guidance
  • Product Rule
  • Quote
  • Quote Template
  • Subscription

Advanced Approvals - Licensed Custom Objects

  • Approval
  • Approval Rule


Modify a VAD or MAD custom permission set to remove CPQ or AA object permissions:

In an Org with CPQ/AA version 228 installed:

  1. Create a new permission set
    1. Named appropriately to reflect VAD or MAD without CPQ or AA objects
  2. In ‘System Permissions’ check ‘View All Data’ or ‘Modify All Data’
  3. Save
  4. Uncheck ‘View All Data’ or ‘Modify All Data’
  5. Save

Verify ‘Object Settings’ to ensure the permissions are correctly marked.  After revoking the system permissions View All Data or Modify All Data in CPQ/AA version 228, the object permissions remain intact for all objects except for Licensed Custom Objects. Unchecking the system permissions for VAD or MAD will only uncheck permissions to the licensed objects in the permission set; object permission checkboxes will still be checked for all non-licensed custom objects. For any object, when you uncheck Read access it will cascade and remove Create, Edit, Delete, View All Records, and Modify All Records access on that object.

NOTE: Muting permissions to LCOs in permission set groups in order to retain VAD or MAD access is not suggested. The VAD/MAD system permissions lose their ability to capture metadata changes when used in a permission set group. The permission set in the group containing either of these two system permissions need to be updated in order to capture the new metadata. Updates to the permission set can still result in validation errors if there are unlicensed users assigned to the permission set group.

Knowledge 기사 번호

000390789

 
로드 중
Salesforce Help | Article