We are deploying one permission set with SFDX which already has permission to multiple Object in the Org. In the permission set XML file, we have only changed Object permission. But when We deploy the permission set with SFDX, It is removing the existing permission from the Custom Object which was not mention in the Permission set XML File. As per the below URL it should only update the permission defined in the XML file


1 Answer 1


Ever since v40.0 or so, Permission Sets have been considered entire units. If you want the older non-destructive-update behavior, you need to use v39.0 or lower, such as the Ant Toolkit. This change is also why retrieving an Permission Set always retrieves all permissions now, because it makes it easier to merge in new changes.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .