Loading

Permission Set group recalculation fails due to View Setup or Edit Setup or Create Setup object permissions

Julkaisupäivä: Sep 10, 2026
Kuvaus

Any changes made to a permission set within a Permission Set Group (PSG) will cause the PSG status to change to "Failed" due to an unsuccessful recalculation. This happens when the permission set has incorrect data object permissions - View Setup, Edit Setup, or Create Setup.

Ratkaisu

This article explains how to fix a Permission Set Group (PSG) that fails recalculation because a permission set inside it has bad Setup object permissions (View Setup, Edit Setup, or Create Setup).

Why This Happens

Any change made to a permission set within a Permission Set Group (PSG) triggers a recalculation of that group. If one of the permission sets in the group has incorrect data object permissions — View Setup, Edit Setup, or Create Setup — the recalculation fails and the PSG status changes to "Failed".

Retrieve the Affected Metadata

Use Salesforce metadata retrieval to pull the affected Permission Set Group and its Permission Sets. For example, use a package.xml like this to retrieve a Permission Set named "test" and a Permission Set Group named "externalObject":

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>externalObject</members>
        <name>PermissionSet</name>
    </types>
    <types>
        <members>test</members>
        <name>PermissionSetGroup</name>
    </types>
    <version>61.0</version>
</Package>

This package.xml tells Salesforce's Metadata API to retrieve the specified Permission Set and Permission Set Group definitions as XML files you can edit and redeploy.

Correct the Permissions and Redeploy

In the retrieved Permission Set metadata files, set the following object permissions to false, then redeploy:

<viewSetup>false</viewSetup>
<customizeSetup>false</customizeSetup>
<deleteSetup>false</deleteSetup>

These tags control whether the permission set grants View Setup, Edit Setup, or Create Setup access on Salesforce data objects. Setting them to false removes the invalid grant that was blocking recalculation.

Considerations

Deploying an update to any Permission Set inside a Permission Set Group causes that group to be recalculated and updated automatically. Only change the viewSetup, customizeSetup, and deleteSetup values described above - do not modify any other permissions in the file, since unrelated changes can affect access outside of this fix.

Knowledge-artikkelin numero

002723601

 
Ladataan
Salesforce Help | Article