Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Missing PrvRead Privilege for my custom entity

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a user assigned with a CRM Role which has CREATE, READ and Write access to my custom entity say entity-A.


A custom button for this CRM Role is provided for the user to fire a workflow which adds a record in entity-A.


I recieved the following error when the button is clicked:


Error:500:Internal Server Error
Principal user (Id= ....., type=8) is missing prvRead<entity-A> privilege (Id= .....)

Please help

Tiong

*This post is locked for comments

  • Priyesh Profile Picture
    Priyesh 7,392 User Group Leader on at
    RE: Missing PrvRead Privilege for my custom entity

    From the Plugin Log, I too assumed what Scott said above. Wondering why should it still check for user's permissions to work on something that the Context User of the plugin is already having.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Missing PrvRead Privilege for my custom entity

    From the workflow log, I noticed that I need Append and Append To privileges  for the relationship.  Not sure why it gives the Read privilege error message on the entity.

    Thank you.  It works now.

    Tiong

  • Verified answer
    ScottDurow Profile Picture
    ScottDurow 19 on at
    RE: Missing PrvRead Privilege for my custom entity

    This is probably because the workflow is performing an action under the context of another user - check the userid and compare it with your users ID

    Hope this helps

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans