Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Show records shared with Ownership Team

(0) ShareShare
ReportReport
Posted on by 93

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!

 

IanJB_0-1697723769304.png

 

  • IanJB Profile Picture
    93 on at
    Re: Show records shared with Ownership Team

    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!

  • ivan_apps Profile Picture
    2,187 Super User 2025 Season 1 on at
    Re: Show records shared with Ownership Team

    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/

     

  • Verified answer
    a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: Show records shared with Ownership Team

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics