Loading

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

Julkaisupäivä: Apr 2, 2026
Kuvaus

Any changes made to permission sets within the Permission Set Group (PSG) will cause the PSG status to change to 'failed' due to an unsuccessful recalculation. This is due to bad data object permissions (View Setup or Edit Setup or Create Setup) on the permission sets.

Ratkaisu

1. Retrieve metadata of affected PSG and Permission sets in the Permission Set Groups.

 

Sample Metadata file to retrieve Permission Set and Permission Set Groups

<?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>

 

2. Redeploy by setting the below object permissions to false for all the Permission Set in the output payload. 
<viewSetup>false</viewSetup>
<customizeSetup>false</customizeSetup>
<deleteSetup>false</deleteSetup>

 

Note:

1) If a deployment updates any Permission Set within a Permission Set Group, that group will be recalculated and updated accordingly

2) Caution that you should not change any other permissions except above permissions

 
Knowledge-artikkelin numero

002723601

 
Ladataan
Salesforce Help | Article