function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nagarjuna Mutte 9Nagarjuna Mutte 9 

Facing issue with deployment: application - no CustomApplication named standard__Work

I am trying to deploy  permission set using package.xml in sandbox but facing below issue:
1. In field: application - no CustomApplication named standard__AdvancedTherapyManagement found
2. In field: application - no CustomApplication named standard__PublicSectorInspectionManagement found
3. In field: application - no CustomApplication named standard__TrustCard found
4. In field: application - no CustomApplication named standard__Work found
5. In field: field - no CustomField named
Entitlement.SvcApptBookingWindowsId found

These apps and custom field not possible to remove from permission set because code is already in git.

Also I found this help archicle: https://help.salesforce.com/s/articleView?id=000383597&language=en_US&type=1 
It asked to raise case with salesforce

Any other way to resolve without raising case ? and also how to enable Entitlement.SvcApptBookingWindowsId field in sandbox?
abel reegan 28abel reegan 28
1. Enable Entitlement.SvcApptBookingWindowsId : This field is will be enabled only when Field Service is enabled. use below path.
Field Service > Field Service Settings
SF : https://developer.salesforce.com/docs/atlas.en-us.field_service_dev.meta/field_service_dev/sforce_api_objects_entitlement.htm

2. Mostly salesforce case is the possibility, but try adding these apps also in deployment package along with permission set. i am not sure about it.
 
Morgan GoughMorgan Gough
Remove or Comment Out References: As a temporary workaround, you could comment out or remove the references to these missing applications and fields in your permission set XML files. Be careful with this step as it might result in loss of permissions that you may need to reassign manually later.  Sync with Production: Refresh your sandbox from production if these applications and fields exist in the production org. This would bring all changes in the production org, including these apps and fields, into your sandbox environment. Remember, refreshing a sandbox will overwrite the sandbox contents.  Manually Create Missing Apps and Fields: If for any reason you cannot refresh your sandbox from production, you could manually recreate these missing applications and fields in your sandbox environment.  Package Dependency: If the missing applications are part of a managed package, ensure the managed package is installed in your sandbox.  As for enabling the Entitlement.SvcApptBookingWindowsId field, this field seems related to Salesforce's Field Service package. If you don't see it, make sure you have installed the Field Service package in your sandbox environment. Also, ensure that the user has the necessary permissions to access this field.   https://www.mythdhr.ltd/ (https://www.mythdhr.ltd/)