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.
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
https://help.salesforce.com/s/articleView?id=platform.perm_set_groups.htm&language=en_US&type=5
002723601

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.