Error when deploying Profiles - 'You may not modify the permission while editing a Standard Profile'
When deploying profiles with Copado, you might encounter the following error:
"You may not modify the permission XXXXXXXXXXXXXXX while editing a Standard Profile".
Standard profiles in Salesforce cannot be modified.
The standard profile you are trying to deploy has a specific permission enabled in the source org but not in the destination org. Therefore, when Copado tries to enable it in the destination org, this is not possible.
If the profile is a standard profile and cannot be enabled, why is there a difference in the permission? Certain permissions in standard profiles can be enabled or disabled when specific features are enabled in an org. In this case, a feature could have been enabled in the source org, causing a permission to be enabled. If this feature is not enabled in the destination org, the permission won't be enabled. However, Copado will try to set it as enabled if you deploy the profile.
What options do you have?
1. Review both source and destination orgs to make sure the same features are enabled.