web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Missing PrvRead Privilege for my custom entity

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Verified answer
    ScottDurow Profile Picture
    21 on at

    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

  • Community Member Profile Picture
    on at

    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

  • Priyesh Profile Picture
    7,396 User Group Leader on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans