Unhandled Exception:
[Link]`1[[[Link],
[Link], Version=[Link], Culture=neutral,
PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx2 failed. Returned hr = -
2147187962, ObjectId: 00000000-0000-0000-0000-000000000000, OwnerId: 9e078738-87c8-
ed11-a2ec-00155dd3134a, OwnerIdType: 8 and CallingUser: 9e078738-87c8-ed11-a2ec-
00155dd3134a, CallerBusinessId: 3d37a53c-8ef0-e811-a2ba-00155dd31212.
ObjectTypeCode: 10008, ObjectBusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212,
AccessRights: CreateAccess. Computed rightsToCheck=CreateAccess, grantedRights=8,
hsmGrantedRights=None, grantedRightsWithHsm=[Link]:
<OrganizationServiceFault xmlns:i="[Link]
xmlns="[Link]
<ActivityId>394d8d06-940d-49c2-b49a-3fc82a9c231d</ActivityId>
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails
xmlns:d2p1="[Link]
<KeyValuePairOfstringanyType>
<d2p1:key>ApiExceptionSourceKey</d2p1:key>
<d2p1:value xmlns:d4p1="[Link]
i:type="d4p1:string">Plugin/[Link]</
d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiOriginalExceptionKey</d2p1:key>
<d2p1:value xmlns:d4p1="[Link]
i:type="d4p1:string">[Link]: SecLib::AccessCheckEx2
failed. Returned hr = -2147187962, ObjectId: 00000000-0000-0000-0000-000000000000,
OwnerId: 9e078738-87c8-ed11-a2ec-00155dd3134a, OwnerIdType: 8 and CallingUser:
9e078738-87c8-ed11-a2ec-00155dd3134a, CallerBusinessId: 3d37a53c-8ef0-e811-a2ba-
00155dd31212. ObjectTypeCode: 10008, ObjectBusinessUnitId: 3d37a53c-8ef0-e811-a2ba-
00155dd31212, AccessRights: CreateAccess. Computed rightsToCheck=CreateAccess,
grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8. --->
[Link]: SecLib::AccessCheckEx2 failed. Returned hr = -
2147187962, ObjectId: 00000000-0000-0000-0000-000000000000, OwnerId: 9e078738-87c8-
ed11-a2ec-00155dd3134a, OwnerIdType: 8 and CallingUser: 9e078738-87c8-ed11-a2ec-
00155dd3134a, CallerBusinessId: 3d37a53c-8ef0-e811-a2ba-00155dd31212.
ObjectTypeCode: 10008, ObjectBusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212,
AccessRights: CreateAccess. Computed rightsToCheck=CreateAccess, grantedRights=8,
hsmGrantedRights=None, grantedRightsWithHsm=8.
at
[Link].AccessCheckEx2(ExecutionContext
context, SecurityPrincipal principal, SecurityPrincipal ownerPrincipal, Guid
objectId, Int32 objectTypeCode, Guid objectBusinessUnitId, AccessRights rights)
at [Link](ExecutionContext
context, SecurityAttributes attributes, AccessRights rights)
at
[Link]
ck(Object sender, SecurityTraits traits, SecurityAttributes attributes,
ExtensionEventArgs e)
at
[Link](Object
sender, ExtensionEventArgs e, BusinessEntity entity)
at
[Link](ExtensionEventArg
s e, Object sender)
at
[Link](O
bject sender, ExtensionEventArgs e)
at
[Link].<>c__DisplayClass162_0.&
lt;Create>b__0()
at [Link][TResult]
(ILogger logger, EventId eventId, ActivityType activityType, Func`1 func)
at [Link][TResult](ILogger
logger, XrmTelemetryActivityType activityType, Func`1 func)
--- End of inner exception stack trace ---
at
[Link](PipelineExecutionC
ontext context)
at [Link](Boolean
instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action,
PipelineExecutionContext context)
at
[Link].<>c__DisplayClass2_1.<Execute>b__0
()</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepKey</d2p1:key>
<d2p1:value xmlns:d4p1="[Link]
i:type="d4p1:string">a70096e0-a6f0-e811-a2ba-00155dd31212</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiDepthKey</d2p1:key>
<d2p1:value xmlns:d4p1="[Link]
i:type="d4p1:string">2</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiActivityIdKey</d2p1:key>
<d2p1:value xmlns:d4p1="[Link]
i:type="d4p1:string">394d8d06-940d-49c2-b49a-3fc82a9c231d</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="[Link]
i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="[Link]
i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="[Link]
i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="[Link]
i:type="d4p1:string">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId:
00000000-0000-0000-0000-000000000000, OwnerId: 9e078738-87c8-ed11-a2ec-
00155dd3134a, OwnerIdType: 8 and CallingUser: 9e078738-87c8-ed11-a2ec-00155dd3134a,
CallerBusinessId: 3d37a53c-8ef0-e811-a2ba-00155dd31212. ObjectTypeCode: 10008,
ObjectBusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212, AccessRights:
CreateAccess. Computed rightsToCheck=CreateAccess, grantedRights=8,
hsmGrantedRights=None, grantedRightsWithHsm=8.</Message>
<Timestamp>2024-10-31T08:40:53.162155Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText>
[[Link]: [Link]]
[3223d5cd-38b5-4e9a-8ead-1316df079b42: Microsoft Dynamics Fps: Update (post-
operation) for bookableresourcebooking]
FpsPlugin: [Link], Depth: 1
FpsPlugin: [Link], Depth: 1
FpsPlugin: PluginContext Start
FpsPlugin: MessageName: Update
FpsPlugin: PrimaryEntityName: bookableresourcebooking
FpsPlugin: PrimaryEntityId: e66f21d1-bf44-415c-8fdb-b2a9ad3f3155
FpsPlugin: SecondaryEntityName: none
FpsPlugin: Stage: 20
FpsPlugin: [Link]: 1
FpsPlugin: [Link]: 0
FpsPlugin: UserId: 9e078738-87c8-ed11-a2ec-00155dd3134a
FpsPlugin: InitiatingUserID: 9e078738-87c8-ed11-a2ec-00155dd3134a
FpsPlugin: IsolationMode: 1
FpsPlugin: Mode: 0
FpsPlugin: OrganizationName: MUTAKAMILAHCRM
FpsPlugin: OrganizationId: 7258432f-8ef0-e811-a2ba-00155dd31212
FpsPlugin: BusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212
FpsPlugin: CorrelationId: a4e9e5d0-a0d3-4b92-97c8-64a6776241d1
FpsPlugin: RequestId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FpsPlugin: OperationId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FpsPlugin: IsInTransaction: True
FpsPlugin: Depth: 1
FpsPlugin: IsExecutingOffline: False
FpsPlugin: Parent PluginContext Start
FpsPlugin: PluginContext Start
FpsPlugin: MessageName: Update
FpsPlugin: PrimaryEntityName: bookableresourcebooking
FpsPlugin: PrimaryEntityId: e66f21d1-bf44-415c-8fdb-b2a9ad3f3155
FpsPlugin: SecondaryEntityName: none
FpsPlugin: Stage: 30
FpsPlugin: [Link]: 0
FpsPlugin: [Link]: 0
FpsPlugin: UserId: 9e078738-87c8-ed11-a2ec-00155dd3134a
FpsPlugin: InitiatingUserID: 9e078738-87c8-ed11-a2ec-00155dd3134a
FpsPlugin: IsolationMode: 1
FpsPlugin: Mode: 0
FpsPlugin: OrganizationName: MUTAKAMILAHCRM
FpsPlugin: OrganizationId: 7258432f-8ef0-e811-a2ba-00155dd31212
FpsPlugin: BusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212
FpsPlugin: CorrelationId: a4e9e5d0-a0d3-4b92-97c8-64a6776241d1
FpsPlugin: RequestId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FpsPlugin: OperationId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FpsPlugin: IsInTransaction: True
FpsPlugin: Depth: 1
FpsPlugin: IsExecutingOffline: False
FpsPlugin: PluginContext End
FpsPlugin: Parent PluginContext End
FpsPlugin: PluginContext End
FpsPlugin: [Link], Depth: 1
FpsPlugin: InitializePlugin: local
FpsPlugin: ConfigurePluginFlagsSupportInternal()
FpsPlugin: CreateEntityOperation(bookableresourcebooking)
FpsPlugin: Operation type: BookableResourceBookingOperation
FpsPlugin: [Link]()
FpsPlugin: [Link]()
FpsPlugin: PluginStage: 20 MessageName: Update
FpsPlugin: Before calling message handler
FpsPlugin: Before
FpsPlugin: BeforeUpdate
FpsPlugin: BeforeCreateOrUpdate
FpsPlugin: BookingSetupMetadata: Cache miss for 2 BookingSetupMetadataDB records
FpsPlugin: CrmMetadataCache [36999694|148]: GET: Result True
FpsPlugin: CrmMetadataCache [36999694|148]: GET: Result True
FpsPlugin: CrmMetadataCache [36999694|148]: GET: Result True
FpsPlugin: CrmMetadataCache [36999694|148]: GET: Result True
FpsPlugin: CrmMetadataCache [36999694|148]: GET: Result True
FpsPlugin: CrmMetadataCache [36999694|148]: GET: Result True
FpsPlugin: After calling message handler
FpsPlugin: [Link], Depth: 1
FpsPlugin: [Link], Depth: 1
FpsPlugin: [Link], Depth: 1
FieldServicePlugin: [Link], Depth: 1
FieldServicePlugin: PluginContext Start
FieldServicePlugin: MessageName: Update
FieldServicePlugin: PrimaryEntityName: bookableresourcebooking
FieldServicePlugin: PrimaryEntityId: e66f21d1-bf44-415c-8fdb-b2a9ad3f3155
FieldServicePlugin: SecondaryEntityName: none
FieldServicePlugin: Stage: 20
FieldServicePlugin: [Link]: 1
FieldServicePlugin: [Link]: 0
FieldServicePlugin: UserId: 9e078738-87c8-ed11-a2ec-00155dd3134a
FieldServicePlugin: InitiatingUserID: 9e078738-87c8-ed11-a2ec-00155dd3134a
FieldServicePlugin: IsolationMode: 1
FieldServicePlugin: Mode: 0
FieldServicePlugin: OrganizationName: MUTAKAMILAHCRM
FieldServicePlugin: OrganizationId: 7258432f-8ef0-e811-a2ba-00155dd31212
FieldServicePlugin: BusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212
FieldServicePlugin: CorrelationId: a4e9e5d0-a0d3-4b92-97c8-64a6776241d1
FieldServicePlugin: RequestId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FieldServicePlugin: OperationId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FieldServicePlugin: IsInTransaction: True
FieldServicePlugin: Depth: 1
FieldServicePlugin: IsExecutingOffline: False
FieldServicePlugin: Parent PluginContext Start
FieldServicePlugin: PluginContext Start
FieldServicePlugin: MessageName: Update
FieldServicePlugin: PrimaryEntityName: bookableresourcebooking
FieldServicePlugin: PrimaryEntityId: e66f21d1-bf44-415c-8fdb-b2a9ad3f3155
FieldServicePlugin: SecondaryEntityName: none
FieldServicePlugin: Stage: 30
FieldServicePlugin: [Link]: 0
FieldServicePlugin: [Link]: 0
FieldServicePlugin: UserId: 9e078738-87c8-ed11-a2ec-00155dd3134a
FieldServicePlugin: InitiatingUserID: 9e078738-87c8-ed11-a2ec-
00155dd3134a
FieldServicePlugin: IsolationMode: 1
FieldServicePlugin: Mode: 0
FieldServicePlugin: OrganizationName: MUTAKAMILAHCRM
FieldServicePlugin: OrganizationId: 7258432f-8ef0-e811-a2ba-00155dd31212
FieldServicePlugin: BusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212
FieldServicePlugin: CorrelationId: a4e9e5d0-a0d3-4b92-97c8-64a6776241d1
FieldServicePlugin: RequestId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FieldServicePlugin: OperationId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FieldServicePlugin: IsInTransaction: True
FieldServicePlugin: Depth: 1
FieldServicePlugin: IsExecutingOffline: False
FieldServicePlugin: PluginContext End
FieldServicePlugin: Parent PluginContext End
FieldServicePlugin: PluginContext End
FieldServicePlugin: [Link], Depth: 1
FieldServicePlugin: [Link], Depth: 1
FieldServicePlugin: InitializePlugin: local
FieldServicePlugin: ConfigurePluginFlagsSupportInternal()
FieldServicePlugin: CreateEntityOperation(bookableresourcebooking)
FieldServicePlugin: Operation type: BookableResourceBookingOperation
FieldServicePlugin: [Link]()
FieldServicePlugin: [Link]()
FieldServicePlugin: PluginStage: 20 MessageName: Update
FieldServicePlugin: Before calling message handler
FieldServicePlugin: Before
FieldServicePlugin: BeforeUpdate
FieldServicePlugin: BeforeCreateOrUpdate
FieldServicePlugin: Begin:RetrieveResxWebResourceByName,
webresourceSchemaName=msdyn_/LocalizationLibrary/[Link]
FieldServicePlugin: Webresources Returned from server. Count=1
FieldServicePlugin: End:RetrieveResxWebResourceByName ,
webresourceSchemaName=msdyn_/LocalizationLibrary/[Link]
FieldServicePlugin: Begin:RetrieveResxWebResourceByName,
webresourceSchemaName=msdyn_/LocalizationLibrary/[Link]
FieldServicePlugin: Webresources Returned from server. Count=1
FieldServicePlugin: End:RetrieveResxWebResourceByName ,
webresourceSchemaName=msdyn_/LocalizationLibrary/[Link]
FieldServicePlugin: Begin:RetrieveResxWebResourceByName,
webresourceSchemaName=msdyn_/LocalizationLibrary/LocalizationXml/[Link]
sx
FieldServicePlugin: Webresources Returned from server. Count=1
FieldServicePlugin: End:RetrieveResxWebResourceByName ,
webresourceSchemaName=msdyn_/LocalizationLibrary/LocalizationXml/[Link]
sx
FieldServicePlugin: Begin:RetrieveResxWebResourceByName,
webresourceSchemaName=msdyn_/LocalizationLibrary/LocalizationXml/[Link]
sx
FieldServicePlugin: Webresources Returned from server. Count=1
FieldServicePlugin: End:RetrieveResxWebResourceByName ,
webresourceSchemaName=msdyn_/LocalizationLibrary/LocalizationXml/[Link]
sx
FieldServicePlugin: After calling message handler
FieldServicePlugin: [Link], Depth: 1
FieldServicePlugin: [Link], Depth: 1
FieldServicePlugin: [Link], Depth: 1
FpsPlugin: [Link], Depth: 1
FpsPlugin: [Link], Depth: 1
FpsPlugin: PluginContext Start
FpsPlugin: MessageName: Update
FpsPlugin: PrimaryEntityName: bookableresourcebooking
FpsPlugin: PrimaryEntityId: e66f21d1-bf44-415c-8fdb-b2a9ad3f3155
FpsPlugin: SecondaryEntityName: none
FpsPlugin: Stage: 40
FpsPlugin: [Link]: 1
FpsPlugin: [Link]: 1
FpsPlugin: UserId: 9e078738-87c8-ed11-a2ec-00155dd3134a
FpsPlugin: InitiatingUserID: 9e078738-87c8-ed11-a2ec-00155dd3134a
FpsPlugin: IsolationMode: 1
FpsPlugin: Mode: 0
FpsPlugin: OrganizationName: MUTAKAMILAHCRM
FpsPlugin: OrganizationId: 7258432f-8ef0-e811-a2ba-00155dd31212
FpsPlugin: BusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212
FpsPlugin: CorrelationId: a4e9e5d0-a0d3-4b92-97c8-64a6776241d1
FpsPlugin: RequestId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FpsPlugin: OperationId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FpsPlugin: IsInTransaction: True
FpsPlugin: Depth: 1
FpsPlugin: IsExecutingOffline: False
FpsPlugin: Parent PluginContext Start
FpsPlugin: PluginContext Start
FpsPlugin: MessageName: Update
FpsPlugin: PrimaryEntityName: bookableresourcebooking
FpsPlugin: PrimaryEntityId: e66f21d1-bf44-415c-8fdb-b2a9ad3f3155
FpsPlugin: SecondaryEntityName: none
FpsPlugin: Stage: 30
FpsPlugin: [Link]: 0
FpsPlugin: [Link]: 0
FpsPlugin: UserId: 9e078738-87c8-ed11-a2ec-00155dd3134a
FpsPlugin: InitiatingUserID: 9e078738-87c8-ed11-a2ec-00155dd3134a
FpsPlugin: IsolationMode: 1
FpsPlugin: Mode: 0
FpsPlugin: OrganizationName: MUTAKAMILAHCRM
FpsPlugin: OrganizationId: 7258432f-8ef0-e811-a2ba-00155dd31212
FpsPlugin: BusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212
FpsPlugin: CorrelationId: a4e9e5d0-a0d3-4b92-97c8-64a6776241d1
FpsPlugin: RequestId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FpsPlugin: OperationId: 394d8d06-940d-49c2-b49a-3fc82a9c231d
FpsPlugin: IsInTransaction: True
FpsPlugin: Depth: 1
FpsPlugin: IsExecutingOffline: False
FpsPlugin: PluginContext End
FpsPlugin: Parent PluginContext End
FpsPlugin: PluginContext End
FpsPlugin: [Link], Depth: 1
FpsPlugin: InitializePlugin: local
FpsPlugin: ConfigurePluginFlagsSupportInternal()
FpsPlugin: CreateEntityOperation(bookableresourcebooking)
FpsPlugin: Operation type: BookableResourceBookingOperation
FpsPlugin: [Link]()
FpsPlugin: [Link]()
FpsPlugin: PluginStage: 40 MessageName: Update
FpsPlugin: Before calling message handler
FpsPlugin: After
FpsPlugin: AfterUpdate
FpsPlugin: AfterCreateOrUpdate
FpsPlugin: [Link]: Retrieving local
FpsPlugin: [Link]: Retrieving soft
FpsPlugin: [Link]: Retrieving hard
FpsPlugin: Settings: Retrieving local
FpsPlugin: [Link], Depth: 1
FpsPlugin:
SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: 00000000-0000-
0000-0000-000000000000, OwnerId: 9e078738-87c8-ed11-a2ec-00155dd3134a, OwnerIdType:
8 and CallingUser: 9e078738-87c8-ed11-a2ec-00155dd3134a, CallerBusinessId:
3d37a53c-8ef0-e811-a2ba-00155dd31212. ObjectTypeCode: 10008, ObjectBusinessUnitId:
3d37a53c-8ef0-e811-a2ba-00155dd31212, AccessRights: CreateAccess. Computed
rightsToCheck=CreateAccess, grantedRights=8, hsmGrantedRights=None,
grantedRightsWithHsm=8.
[Link]`1[[Link]]:
SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: 00000000-0000-
0000-0000-000000000000, OwnerId: 9e078738-87c8-ed11-a2ec-00155dd3134a, OwnerIdType:
8 and CallingUser: 9e078738-87c8-ed11-a2ec-00155dd3134a, CallerBusinessId:
3d37a53c-8ef0-e811-a2ba-00155dd31212. ObjectTypeCode: 10008, ObjectBusinessUnitId:
3d37a53c-8ef0-e811-a2ba-00155dd31212, AccessRights: CreateAccess. Computed
rightsToCheck=CreateAccess, grantedRights=8, hsmGrantedRights=None,
grantedRightsWithHsm=8. (Fault Detail is equal to Exception details:
ErrorCode: 0x80048306
Message: SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId:
00000000-0000-0000-0000-000000000000, OwnerId: 9e078738-87c8-ed11-a2ec-
00155dd3134a, OwnerIdType: 8 and CallingUser: 9e078738-87c8-ed11-a2ec-00155dd3134a,
CallerBusinessId: 3d37a53c-8ef0-e811-a2ba-00155dd31212. ObjectTypeCode: 10008,
ObjectBusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212, AccessRights:
CreateAccess. Computed rightsToCheck=CreateAccess, grantedRights=8,
hsmGrantedRights=None, grantedRightsWithHsm=8.
TimeStamp: 2024-10-31T08:40:53.1465290Z
--
Exception details:
ErrorCode: 0x80048306
Message: SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId:
00000000-0000-0000-0000-000000000000, OwnerId: 9e078738-87c8-ed11-a2ec-
00155dd3134a, OwnerIdType: 8 and CallingUser: 9e078738-87c8-ed11-a2ec-00155dd3134a,
CallerBusinessId: 3d37a53c-8ef0-e811-a2ba-00155dd31212. ObjectTypeCode: 10008,
ObjectBusinessUnitId: 3d37a53c-8ef0-e811-a2ba-00155dd31212, AccessRights: Cr...).
FpsPlugin: [Link], Depth: 1
FpsPlugin: [Link], Depth: 1
</TraceText>
</OrganizationServiceFault>