You need to sign in to do that
Don't have an account?
Taha Haider
Getting error in deployment of profiles
Getting this error in deployment
"Error force-app/main/default/profiles/Admin.profile-meta.xml Unknown user permission: CanAccessCE"
Want to transfer all profiles from one org to another.
"Error force-app/main/default/profiles/Admin.profile-meta.xml Unknown user permission: CanAccessCE"
Want to transfer all profiles from one org to another.
The "unknown user permission" type errors are either because of-
- The version indicated in the package.XML doesn't support the feature, or
- The source environment is on a newer API version than the target, and it's supported in the former and not the latter
I recommend editing your metadata to manually remove the reference to that specific profile permission before deploymentAlso, try to make sure your source and target environment are on the same version whenever you plan to deploy.
Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you