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)

Team missing read privilege on custom entity

(0) ShareShare
ReportReport
Posted on by 1,577

Hello,

I have an import job which creates and updates contacts. It assigns ownership of the contacts to a Team ID.  This team (I will call it "y") is in one Business Unit. We have a custom entity (I will call it "x") which is locked down for access to a team in a different business unit.  During the import we get errors  Principal team (Id=id of team y, type=9) is missing prvRead (on custom entity x).

There is a 1:M relationship betweeb contact and entity-x  but as for the actual contacts being imported they do not have any link to entity-x and the import code does not reference entity x or any of its fields. 

I need to keep access to "x" restricted so I do not want to grant read access to this entity. Can anyone explain - if I get a reference to a contact and assign it to a team does that team need read access to all associated entities also?

What is also confusing me also is the fact that this error is not consistent - it does not happen with every contact.

Any help or advice would be very welcome. Thanks.

- Seamus

*This post is locked for comments

I have the same question (0)
  • Guido Preite Profile Picture
    54,086 Moderator on at

    maybe there is some related process/workflow/plugin that is triggered on the creation of the contact and perform some action on the custom entity, this will explain why with some records you get the errors and with some you don't.

    without checking the system or the full error log this is my guess.

    hope it helps

  • Seamus Profile Picture
    1,577 on at

    Thanks Guido for your suggestion. There is no related process or workflow. The custom entity is only applicable to a small subset of contacts who come into CRM via a webform - no contacts coming in via the import have any interaction with it - the only connection is a 'design' one - the 1:M relationship between contact and custom entity.

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    I would compare the records where error pop out vs records without error to see a pattern & nail down the rootcause. This issue is purely based on your implementation & trial/error only will give some idea to proceed.

  • Suggested answer
    Seamus Profile Picture
    1,577 on at

    Thanks Arun. I discovered that the failing records DID have an historical instance of the entity in the other Business Unit.

    I just had not appreciated that to assign ownership of a contact to a team, that team would have to have read access to all the contact's related entities.

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