i get error
assignee has insufficient privileges
but the user has security role, that works for other and worked for him as well and was not changed and also read-write access-mode
please help
*This post is locked for comments
i get error
assignee has insufficient privileges
but the user has security role, that works for other and worked for him as well and was not changed and also read-write access-mode
please help
*This post is locked for comments
The error coming from plugin Plugins.AutoNumber.Execute() , check which entity record you are creating inside the plugin. Check entity "Read" privilege for the security role of the assign user id = "fc7e1d04-0b8f-e811-8142-e0071b667141" (The user who is assigning ).
Read is dependent privilege of create access so Read privilege is required to create any entity record.
Unhandled exception:
Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220943 on UserId: 9b46dcd8-c68b-e611-80f6-3863bb362e60 and PrivilegeType: ReadDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>5a943efa-6f2b-4cbf-928b-836731f77c94</ActivityId>
<ErrorCode>-2147220943</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<HelpLink>http%3a%2f%2fgo.microsoft.com%2ffwlink%2f%3fLinkID%3d398563%26lcid%3d1033%26error%3dMicrosoft.Crm.CrmException%26client%3dplatform%26sv%3d9.0.41.905%26de%3dLive%26opsys%3dMicrosoft+Windows+NT+10.0.14393.0%26errorCode%3d-2147220943</HelpLink>
<Message>SecLib::CrmCheckPrivilege failed. Returned hr = -2147220943 on UserId: 9b46dcd8-c68b-e611-80f6-3863bb362e60 and PrivilegeType: Read</Message>
<Timestamp>2019-07-23T13:29:13.6699925Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText>
[CrmVSSolution1.Plugins: CrmVSSolution1.Plugins.AutoNumber]
[d6bd35f9-25ac-e611-80f8-3863bb367d40: AutoNumber]
Entered CrmVSSolution1.Plugins.AutoNumber.Execute(), Correlation Id: 25d3ffdd-04f9-4311-911d-230cbcaa18dc, Initiating User: fc7e1d04-0b8f-e811-8142-e0071b667141
CrmVSSolution1.Plugins.AutoNumber is firing for Entity: opportunity, Message: Create, Correlation Id: 25d3ffdd-04f9-4311-911d-230cbcaa18dc, Initiating User: fc7e1d04-0b8f-e811-8142-e0071b667141
Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220943 on UserId: 9b46dcd8-c68b-e611-80f6-3863bb362e60 and PrivilegeType: Read (Fault Detail is equal to Exception details:
ErrorCode: 0x80040231
Message: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220943 on UserId: 9b46dcd8-c68b-e611-80f6-3863bb362e60 and PrivilegeType: Read
TimeStamp: 2019-07-23T13:29:13.6349325Z
OriginalException: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220943 on UserId: 9b46dcd8-c68b-e611-80f6-3863bb362e60 and PrivilegeType: Read (Fault Detail is equal to Exception details:
ErrorCode: 0x80040231
Message: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220943 on UserId: 9b46dcd8-c68b-e611-80f6-3863bb362e60 and PrivilegeType: Read
TimeStamp: 2019-07-23T13:29:13.6349325Z
--
Exception details:
ErrorCode: 0x80040231
Message: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220943 on UserId: 9b46dcd8-c68b-e611-80f6-3863bb362e60 and PrivilegeType: Read
TimeStamp: 2019-07-23T13:29:13.6349325Z
--
Exception details:
ErrorCode: 0x80040231
Message: SecLib::CrmCheckPriv...)., Correlation Id: 25d3ffdd-04f9-4311-911d-230cbcaa18dc, Initiating User: fc7e1d04-0b8f-e811-8142-e0071b667141
Exiting CrmVSSolution1.Plugins.AutoNumber.Execute(), Correlation Id: 25d3ffdd-04f9-4311-911d-230cbcaa18dc, Initiating User: fc7e1d04-0b8f-e811-8142-e0071b667141
</TraceText>
</OrganizationServiceFault>
Have you download the log file ? Please share here .
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156