Hello Everyone,
I have an issue were the users of the field service app, are not able to create an assignment for a specific account, they were able to do that before but not anymore, bellow you can see the message captured by the error log, can anyone help me understand what it means and point me towards a solution?
Thanks
Exception Message: {"CallerPrincipal":{"PrincipalId":"b974a81f-b3c5-ea11-a812-00224801cfe4","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"ca9f6f06-5b01-eb11-a813-000d3a7f4a6b","Type":9,"IsUserPrincipal":false},"ObjectId":"f7f33f60-e3db-ea11-a815-00224801cfe4","ObjectTypeCode":1150,"EntityName":"bookableresource","ObjectBusinessUnitId":"c89f6f06-5b01-eb11-a813-000d3a7f4a6b","RightsToCheck":"ReadAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Global","SecLib::AccessCheckEx2 failed. Owner Data: Team principal ca9f6f06-5b01-eb11-a813-000d3a7f4a6b is not loaded in TeamDataCache yet; Principal Data: roleCount=5, privilegeCount=1252, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Teams":null,"Roles":null},"ReadOnlyState":"UserAndOrgFullAccess","IsHsmEnabled":false,"HsmInfo":null} ErrorCode: -2147220891 HexErrorCode: 0x80040265 ErrorDetails: ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService ApiStepKey: 894761ed-38b6-46f6-a01e-235c237dc6e2 ApiDepthKey: 4 ApiActivityIdKey: 11bea33f-fe67-493c-9ab2-866fb6819d77 ApiPluginSolutionNameKey: System ApiStepSolutionNameKey: System ApiExceptionCategory: ClientError ApiExceptionMesageName: unManagedIdsAccessDenied ApiExceptionHttpStatusCode: 403 OperationStatus: 0 SubErrorCode: -2146233088 TraceText: [Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin] [94f83cac-7732-4bb9-9cff-8f92992dd953: Field Service: Create (post-operation) for msdyn_workorder] [Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin] [f3401bb4-6e0a-4a5f-bebf-e9509c552dcd: Field Service: Create (post-operation) for msdyn_resourcerequirement] FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_resourcerequirement FpsPlugin: PrimaryEntityId: f2866d72-c007-eb11-a813-00224801badc FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 20 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: UserId: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: InitiatingUserID: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org9bc37568 FpsPlugin: OrganizationId: e26f0301-7642-4849-aa56-64b15ae3479c FpsPlugin: BusinessUnitId: 1bc570fa-5a01-eb11-a813-000d3a7f4a6b FpsPlugin: CorrelationId: 2762f23a-365a-4aee-aa7a-279eb2793127 FpsPlugin: RequestId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: OperationId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_resourcerequirement FpsPlugin: PrimaryEntityId: f2866d72-c007-eb11-a813-00224801badc FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 30 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: UserId: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: InitiatingUserID: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org9bc37568 FpsPlugin: OrganizationId: e26f0301-7642-4849-aa56-64b15ae3479c FpsPlugin: BusinessUnitId: 1bc570fa-5a01-eb11-a813-000d3a7f4a6b FpsPlugin: CorrelationId: 2762f23a-365a-4aee-aa7a-279eb2793127 FpsPlugin: RequestId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: OperationId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_workorder FpsPlugin: PrimaryEntityId: 07a4586c-c007-eb11-a813-00224801badc FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 40 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: UserId: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: InitiatingUserID: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org9bc37568 FpsPlugin: OrganizationId: e26f0301-7642-4849-aa56-64b15ae3479c FpsPlugin: BusinessUnitId: 1bc570fa-5a01-eb11-a813-000d3a7f4a6b FpsPlugin: CorrelationId: 2762f23a-365a-4aee-aa7a-279eb2793127 FpsPlugin: RequestId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: OperationId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_workorder FpsPlugin: PrimaryEntityId: 07a4586c-c007-eb11-a813-00224801badc FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 30 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: UserId: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: InitiatingUserID: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org9bc37568 FpsPlugin: OrganizationId: e26f0301-7642-4849-aa56-64b15ae3479c FpsPlugin: BusinessUnitId: 1bc570fa-5a01-eb11-a813-000d3a7f4a6b FpsPlugin: CorrelationId: 2762f23a-365a-4aee-aa7a-279eb2793127 FpsPlugin: RequestId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: OperationId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: InitializePlugin: local FpsPlugin: ConfigurePluginFlagsSupportInternal() FpsPlugin: CreateEntityOperation(msdyn_resourcerequirement) FpsPlugin: Operation type: ResourceRequirementOperation FpsPlugin: operation.Initialize() FpsPlugin: operation.Execute() FpsPlugin: PluginStage: 20 MessageName: Create FpsPlugin: Before calling message handler FpsPlugin: Before FpsPlugin: BeforeCreate FpsPlugin: BeforeCreateOrUpdate FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: CrmMetadataCache [9560485|142]: GET: Result True FpsPlugin: After calling message handler FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: PluginLocal.Dispose, Depth: 1 Entered ScheduleCommon.Plugins.PreOperationResourceRequirementCreate.Execute(), Correlation Id: 2762f23a-365a-4aee-aa7a-279eb2793127, Initiating User: b974a81f-b3c5-ea11-a812-00224801cfe4 Exiting ScheduleCommon.Plugins.PreOperationResourceRequirementCreate.Execute(), Correlation Id: 2762f23a-365a-4aee-aa7a-279eb2793127, Initiating User: b974a81f-b3c5-ea11-a812-00224801cfe4 Entered ScheduleCommon.Plugins.PostResourceRequirementCreate.Execute(), Correlation Id: 2762f23a-365a-4aee-aa7a-279eb2793127, Initiating User: b974a81f-b3c5-ea11-a812-00224801cfe4 Exiting ScheduleCommon.Plugins.PostResourceRequirementCreate.Execute(), Correlation Id: 2762f23a-365a-4aee-aa7a-279eb2793127, Initiating User: b974a81f-b3c5-ea11-a812-00224801cfe4 [Microsoft.Dynamics.Fps: Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin] [5d17d236-38d4-4e98-a75d-7f6313ee3ee5: Resource Scheduling - Microsoft Dynamics Fps: Create (pre-operation) for msdyn_requirementresourcepreference] FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_requirementresourcepreference FpsPlugin: PrimaryEntityId: 6b876d72-c007-eb11-a813-00224801badc FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 20 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: UserId: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: InitiatingUserID: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org9bc37568 FpsPlugin: OrganizationId: e26f0301-7642-4849-aa56-64b15ae3479c FpsPlugin: BusinessUnitId: 1bc570fa-5a01-eb11-a813-000d3a7f4a6b FpsPlugin: CorrelationId: 2762f23a-365a-4aee-aa7a-279eb2793127 FpsPlugin: RequestId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: OperationId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 3 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_requirementresourcepreference FpsPlugin: PrimaryEntityId: 6b876d72-c007-eb11-a813-00224801badc FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 30 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: UserId: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: InitiatingUserID: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org9bc37568 FpsPlugin: OrganizationId: e26f0301-7642-4849-aa56-64b15ae3479c FpsPlugin: BusinessUnitId: 1bc570fa-5a01-eb11-a813-000d3a7f4a6b FpsPlugin: CorrelationId: 2762f23a-365a-4aee-aa7a-279eb2793127 FpsPlugin: RequestId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: OperationId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 3 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_workorder FpsPlugin: PrimaryEntityId: 07a4586c-c007-eb11-a813-00224801badc FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 40 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: UserId: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: InitiatingUserID: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org9bc37568 FpsPlugin: OrganizationId: e26f0301-7642-4849-aa56-64b15ae3479c FpsPlugin: BusinessUnitId: 1bc570fa-5a01-eb11-a813-000d3a7f4a6b FpsPlugin: CorrelationId: 2762f23a-365a-4aee-aa7a-279eb2793127 FpsPlugin: RequestId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: OperationId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 3 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_workorder FpsPlugin: PrimaryEntityId: 07a4586c-c007-eb11-a813-00224801badc FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 30 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: UserId: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: InitiatingUserID: b974a81f-b3c5-ea11-a812-00224801cfe4 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org9bc37568 FpsPlugin: OrganizationId: e26f0301-7642-4849-aa56-64b15ae3479c FpsPlugin: BusinessUnitId: 1bc570fa-5a01-eb11-a813-000d3a7f4a6b FpsPlugin: CorrelationId: 2762f23a-365a-4aee-aa7a-279eb2793127 FpsPlugin: RequestId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: OperationId: 66e0ea84-4964-45be-b67c-c14ad112c518 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 3 FpsPlugin: IsExecutingOffline: False FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: InitializePlugin: local FpsPlugin: ConfigurePluginFlagsSupportInternal() FpsPlugin: CreateEntityOperation(msdyn_requirementresourcepreference) FpsPlugin: Operation type: RequirementResourcePreferenceOperation FpsPlugin: operation.Initialize() FpsPlugin: operation.Execute() FpsPlugin: PluginStage: 20 MessageName: Create FpsPlugin: Before calling message handler FpsPlugin: Before FpsPlugin: BeforeCreate FpsPlugin: BeforeCreateOrUpdate FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: {"CallerPrincipal":{"PrincipalId":"b974a81f-b3c5-ea11-a812-00224801cfe4","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"ca9f6f06-5b01-eb11-a813-000d3a7f4a6b","Type":9,"IsUserPrincipal":false},"ObjectId":"f7f33f60-e3db-ea11-a815-00224801cfe4","ObjectTypeCode":1150,"EntityName":"bookableresource","ObjectBusinessUnitId":"c89f6f06-5b01-eb11-a813-000d3a7f4a6b","RightsToCheck":"ReadAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Global","SecLib::AccessCheckEx2 failed. Owner Data: Team principal ca9f6f06-5b01-eb11-a813-000d3a7f4a6b is not loaded in TeamDataCache yet; Principal Data: roleCount=5, privilegeCount=1252, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Teams":null,"Roles":null},"ReadOnlyState":"UserAndOrgFullAccess","IsHsmEnabled":false,"HsmInfo":null} System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: {"CallerPrincipal":{"PrincipalId":"b974a81f-b3c5-ea11-a812-00224801cfe4","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"ca9f6f06-5b01-eb11-a813-000d3a7f4a6b","Type":9,"IsUserPrincipal":false},"ObjectId":"f7f33f60-e3db-ea11-a815-00224801cfe4","ObjectTypeCode":1150,"EntityName":"bookableresource","ObjectBusinessUnitId":"c89f6f06-5b01-eb11-a813-000d3a7f4a6b","RightsToCheck":"ReadAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Global","SecLib::AccessCheckEx2 failed. Owner Data: Team principal ca9f6f06-5b01-eb11-a813-000d3a7f4a6b is not loaded in TeamDataCache yet; Principal Data: roleCount=5, privilegeCount=1252, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegratio... (Fault Detail is equal to Exception details: ErrorCode: 0x80048306 Message: {"CallerPrincipal":{"PrincipalId":"b974a81f-b3c5-ea11-a812-00224801cfe4","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"ca9f6f06-5b01-eb11-a813-000d3a7f4a6b","Type":9,"IsUserPrincipal":false},"ObjectId":"f7f33f60-e3db-ea11-a815-00224801cfe4","ObjectTypeCode":1150,"EntityName":"bookableresource","ObjectBusinessUnitId":"c89f6f06-5b01-eb11-a813-000d3a7f4a6b","RightsToCheck":"ReadAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Global","SecLib::AccessCheckEx2 failed. Owner Data: Team principal ca9f6f06-5b01-eb11-a813-000d3a7f4a6b is not loaded in TeamDataCache yet; Principal Data: roleCount=5, privilegeCount=1252, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,...). FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: PluginLocal.Dispose, Depth: 1 Activity Id: 9a2184a6-d3d5-4583-82fa-67ec73c165a2