Activity Forums Salesforce® Discussions Error while uninstalling a package in Salesforce

  • PRANAV

    Member
    March 28, 2018 at 1:20 pm

    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.

  • Ankit

    Member
    March 28, 2018 at 1:52 pm

    Thanks, Pranav

    I removed all assigned user for that permission set but it does not work. It still gives that error.

  • PRANAV

    Member
    March 28, 2018 at 2:00 pm

    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.

  • Archit

    Member
    March 28, 2018 at 2:21 pm

    I was also facing the same issue while uninstalling the same. I would appreciate both of you for providing helpful answer

    Thanks!

  • Ankit

    Member
    March 28, 2018 at 2:39 pm

    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.

  • PRANAV

    Member
    March 28, 2018 at 2:47 pm

    Hi Ankit,

    That's great please like my answer as a best answer.

    Thanks

  • Archit

    Member
    March 28, 2018 at 2:48 pm

    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.

Popular Salesforce Blogs