Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Missing Privilege Error on security role assignment to user

Posted on by 45

Getting the following exception when i'm try to assign the security role.

=========> Exception<============

Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmException: RoleService::VerifyCallerPrivileges failed. User: 59fa03f5-f638-ec11-8c64-000d3af36fa3, UserBU: c85d2646-e52e-e911-a978-000d3af43d1a, PrivilegeName: prvDeleteCustomerOpportunityRole, PrivilegeId: 9aa38629-d3ec-42eb-bef9-da2fc7cceda7, Depth: Local, BusinessUnitId: 9502faca-73ad-ea11-a812-000d3af3a0d7, MissingPrivilegeCount: 31

=========> Scenario <========= 

User-A (no deletion rights provided for any entity)

User-A trying to assign the security role to any user and getting the above mentioned error for Missing Privileges: surprisingly All the missing privileges highlighted are belong to User-A. After trying to assign different security role Number of MissingPrivilegeCount  changed. I'm unable to understand the logic behind requirement "deletion privileges". One of the security role assignment failed due to missing PrvDeleteTeam. 

 

Kindly suggest the action to fix this issue. 

  • Muhammad Awais Profile Picture
    Muhammad Awais 45 on at
    RE: Missing Privilege Error on security role assignment to user

    Yes i can but it not allowed by business. mostly when we assign the security role we use the admin user, in my case action user is not admin.  How i can find the dependency behind this privileges requirement?

  • Suggested answer
    RE: Missing Privilege Error on security role assignment to user

    Can you grant a security role by adding prvDeleteCustomerOpportunityRole to User A?

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans