Loading

Unable to uninstall a package due to error: "You can't delete this permission set because it is used in an experience."

Date de publication: Oct 13, 2022
Description

When uninstalling a package, it fails with an error similar to:

Your request to uninstall package "Test Pacakge" was unsuccessful. None of the data or setup information in your salesforce.com organization was affected. If your uninstall continues to fail, contact Salesforce CRM Support through your normal channels and provide the following information.

Organization: New Org (00Dxxxxxxxxx)
User: Admin (005xxxxxxxxxxxx)
Package: Test Package (04txxxxxxxxxxxxx)
Error Number: xxxxxxxxx-xxxxxxxxxxxx (677098974) Permission Set Name could not be removed during uninstall. null: You can't delete this permission set because it is used in an experience.

Résolution

To resolve this error, review your Digital Engagement Sites for a permission set that is a component of the affected package by following these steps:

1. Setup | Digital Experiences | All Sites.
2. Click 'Workspaces' beside a Site.
3. Select 'Administration' from the My Workspaces tiles.
4. On the left panel, click Members.
5. Remove the permission set.

If the above steps do not resolve the error, please contact support.

See also:
Best practices when uninstalling an app or package

Numéro d’article de la base de connaissances

000392647

 
Chargement
Salesforce Help | Article