Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Something is deleting from PrincipalObjectAccess

Posted on by 218

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

  • Yaqub Ahmad Profile Picture
    Yaqub Ahmad 218 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
    ScottDurow 50,177 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

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans