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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Something is deleting from PrincipalObjectAccess

(0) ShareShare
ReportReport
Posted on by 220

Hi experts,

We are using the sharing feature of Dynamics CRM to share records with different teams and users. This feature is working fine however we are experiencing a strange issue, when we share a record (Lead/Opportunity/Quote etc.) it adds an entry to the PrincipalObjectAccess table. It works fine but then something clears almost all of the PrincipalObjectAccess entries over the night. We are not sure that what is clearing the PrincipalObjectAccess because there is nothing out of the box that can clear this table until we delete the associated record. For example, when we share the LeadXYZ, Dynamics CRM adds an entry to the PrincipalObjectAccess table, and that entry will remain there no matter what until the LeadXYZ is deleted.

I am curious anyone else has experienced the same issue? What could be the possible cause of this issue?

Regards,

Yaqub

*This post is locked for comments

I have the same question (0)
  • Yaqub Ahmad Profile Picture
    220 on at
    RE: Something is deleting from PrincipalObjectAccess

    Hi Scott,

    Thanks for your reply :)

    We were experiencing the same issue that is mentioned in the referenced article. Since we are on premise so we have access to the SubscriptionTrackingDeletedObject table, we have removed the GUIDs (of the referenced records) from this table which were not actually deleted and it resolved the issue.

    Thanks

  • Suggested answer
    ScottDurow Profile Picture
    21 on at
    RE: Something is deleting from PrincipalObjectAccess

    Hi,

    Yes I am heard of this happening before - you will need to raise a support ticket with Microsoft to get it fixed.

    It is caused by an internal system job that reads records from the SubscriptionTrackingDeletedObject table

    Read more here [View:http://www.mohamedmostafa.co.uk/blog/2018/10/02/disappearing-record-level-team-access-security-permissions-and-manual-record-shares-dynamics-365-v9/]

    Hope that 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

Responsible AI policies

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans