Unknown user permission: FieldServiceAccess
Detection
Examples
Error Admin Unknown user permission: FieldServiceAccess
Resolution
Field Service is not enabled in the target org.
- Enable it in the target org (Setup -> Field Service Settings), see https://help.salesforce.com/articleView?id=sf.fs_enable.htm&type=5
- The built-in replacement rule builtin-unknown-user-permissions removes the user permissions the target org does not have: check it is on (https://sfdx-hardis.cloudity.com/salesforce-devops-config-replacement-rules-builtin/)