Notifications
Announcements
Hi all,
I'm wondering if there is a way to retrieve records shared with a given team. I'm working on some Custom Pages and can filter records that have been related to one another (such as Users and Security Roles), but I have not been able to find such a relationship between records from custom tables that are shared to teams. At present the only way I can tell where a record has been shared is to select it in a model driven app and then open the "Share" pane (see snip below). I would like to have a custom page where I can basically go the other direction - select a Team and then display all records that have been shared with it. Any thoughts?
Thanks!
Hello,
Sharing creates a special record in the table "Principal Object Access". You can query that table to get the list of teams/users the record was shared with. Check this - https://community.dynamics.com/forums/thread/details/?threadid=e06890a9-4939-4988-849b-183d7e43d055
Download XrmToolBox and take a look at the Principal Object Access plugins. I believe some one them will do what you want to query with just a few clicks.
https://www.xrmtoolbox.com/plugins/Ameed.Xrm.SearchPOALandscape/
Thanks @a33ik this is exactly what I was looking for! Easily applicable to filter a Team's GUID value (PrincipalId) to a target table's record GUID values (ObjectId) with no delegation problems as an added bonus! Much appreciated!
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268