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.
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
000392647

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.