{"id":2054,"date":"2022-09-01T01:29:30","date_gmt":"2022-09-01T01:29:30","guid":{"rendered":"https:\/\/morecpq.com\/?p=2054"},"modified":"2022-09-01T01:29:32","modified_gmt":"2022-09-01T01:29:32","slug":"advanced-approvals-cant-assign-permission-set-advanced-approvals-to-user-this-permission-set-contains-an-object-that-requires-a-license","status":"publish","type":"post","link":"https:\/\/morecpq.com\/index.php\/2022\/09\/01\/advanced-approvals-cant-assign-permission-set-advanced-approvals-to-user-this-permission-set-contains-an-object-that-requires-a-license\/","title":{"rendered":"Advanced Approvals &#8211; Can\u2019t assign permission set Advanced Approvals to User. This permission set contains an object that requires a license."},"content":{"rendered":"\n<p>Error: Can\u2019t assign permission set Advanced Approvals to User <a href=\"http:\/\/linkedin.com\/in\/tdevlindrye\">Tiffany Devlin-Drye<\/a>. This permission set contains an object that requires a license. Before continuing, assign the user to the related permission set license.<\/p>\n\n\n\n<p>Ouch.  Did you install Advanced Approvals (or another package that requires a permission set license)?  Then Salesforce provisioned your licenses?  Maybe you went to Company Information in your sandbox and clicked the \u201dMatch Production Licenses\u201d button?  It worked!  But it really didn\u2019t\u2026<\/p>\n\n\n\n<p>You\u2019re trying to assign a permission set to a user for a package that requires a permission set license but you have the license and assigned it properly already.  And it\u2019s giving you this error anyways.  WHAT GIVES?!<\/p>\n\n\n\n<p>You may have also tried:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Making a custom permission set with one single object permission<\/li><li>Running post install CPQ scripts (THIS SHOULD FIX EVERYTHING DAMMIT.)<\/li><li>Confirmed license counts in both environments<\/li><li>Ensured the licenses are active<\/li><li>Assigning to a different user<\/li><li>Compared the permission set to what you already have access to<\/li><\/ul>\n\n\n\n<p>Solution: Uninstall the package.  Install the package.  Licenses and permission sets will work properly.<\/p>\n\n\n\n<p>This error happens because the package was installed before the licenses were provisioned.<\/p>\n\n\n\n<p>Reinstall it.  Move on.  \ud83d\ude42 <\/p>\n\n\n\n<p><a href=\"https:\/\/trailblazer.salesforce.com\/issues_view?id=a1p4V0000013wp0QAA\" target=\"_blank\" rel=\"noreferrer noopener\">Here<\/a> is a link to the knowledge article about it.<\/p>\n\n\n\n<p>Thanks a ton to Tiffany (@ mentioned above) for enduring this issue and finding the resolution!  Hey Tiff. \ud83d\udc4b\ud83c\udffb \ud83d\ude42 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error: Can\u2019t assign permission set Advanced Approvals to User Tiffany Devlin-Drye. This permission set contains an object that requires a license. Before continuing, assign the user to the related permission set license. Ouch. Did you install Advanced Approvals (or another package that requires a permission set license)? Then Salesforce provisioned your licenses? Maybe you went &hellip;<br \/><a href=\"https:\/\/morecpq.com\/index.php\/2022\/09\/01\/advanced-approvals-cant-assign-permission-set-advanced-approvals-to-user-this-permission-set-contains-an-object-that-requires-a-license\/\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">Advanced Approvals &#8211; Can\u2019t assign permission set Advanced Approvals to User. This permission set contains an object that requires a license.<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2054","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/2054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/comments?post=2054"}],"version-history":[{"count":10,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/2054\/revisions"}],"predecessor-version":[{"id":2064,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/2054\/revisions\/2064"}],"wp:attachment":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/media?parent=2054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/categories?post=2054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/tags?post=2054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}