Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

assignee has insufficient privileges

Posted on by 10

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

  • gdas Profile Picture
    gdas 50,085 on at
    RE: assignee has insufficient privileges

    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.

  • tamta Profile Picture
    tamta 10 on at
    RE: assignee has insufficient privileges

    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>

  • gdas Profile Picture
    gdas 50,085 on at
    RE: assignee has insufficient privileges

    Have you download the log file ? Please share here .

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans