Activity › Forums › Salesforce® Discussions › Error while uninstalling a package in Salesforce
Tagged: AppExchange Packages, Installed Packages, Managed Package, Package Installation, Packages in Salesforce, Remove Package, Uninstall Package
-
Error while uninstalling a package in Salesforce
Posted by Ankit on March 28, 2018 at 12:35 PMHi All,
I am getting this while uninstalling a package in salesforce. Even I remove the assigned user from the permission set, it still shows this.

Please help me with valuable answers.
Thanks in advance.
Archit replied 8 years, 1 month ago 3 Members · 7 Replies -
7 Replies
-
Hi Ankit,
As you can see the error message, your package’s permission set is assigned to an user, so you will have to remove all the users from permission set then try it again.
- [adinserter block='9']
-
Thanks, Pranav
I removed all assigned user for that permission set but it does not work. It still gives that error.
-
Hi Ankit,
If there are some Site Users you have to open the user detail page and then remove the permission set. For that you can do SOQL on permission set with this package’s permission set name.
-
I was also facing the same issue while uninstalling the same. I would appreciate both of you for providing helpful answer
Thanks!
-
Thanks Pranav,
By using soql on permission set, I got to know that my package was assigned to guest user so after getting their Id. I’m able to remove permission set from there.
After that I uninstalled my package. -
Hi Ankit,
That’s great please like my answer as a best answer.
Thanks
-
Hello Ankit,
Can you please uninstall the same and again install it, it will again create same problem because it will refresh the whole in repeating steps.
Thanks
Log In to reply.
