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 365 | Integration, Dataverse...
Answered

Seeing who a record is Shared With

(2) ShareShare
ReportReport
Posted on by

I have records in a table that are User level permissions and I want them to be able to share/assign them as needed.

I am wondering if there is a way to have a column in the view showing the staff that have access? Rather than going one record at a time and clicking on share to see if it has been shared.

I have the same question (0)
  • 24HourDynamics Profile Picture
    2 on at
    Seeing who a record is Shared With
    If you use PowerBI it will be simple you can create a report in Power BI and embedded in Dynamics Dashboard:
     
  • CU15070746-0 Profile Picture
    on at
    Seeing who a record is Shared With
    In the SQL query for the view, you can join the table containing the staff access information with the table/view containing the records. This way, you can retrieve the necessary data for each record along with the corresponding staff members who have access.
  • Suggested answer
    HandeMV Profile Picture
    on at
    RE: Seeing who a record is Shared With

    Hi,

    Information about Shared records and users is present in "Principle Object Access table" which you can use to retrive information. To view this table data, you can use SQL 4 CDS tool in Xrm toolbox. Then can create power bi Report or something to view everything at one place.

    Please mark verified if this resolves your issue.

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: Seeing who a record is Shared With

    Hi Bahalzamon,

    Unfortunately, there is currently no OOB method to do this, or you will need some customization.

    As you may be aware, information relating to the Sharing of records in Dataverse/Dynamics 365 is held in the PrincipalObjectAccess(POA) table. 

    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/principalobjectaccess?view=dataverse-latest 

    There is one column named principalId, which stores the GUID of the user or team with which the record is shared.

    And one column named objectId, which stores the GUID of the record that has been shared

    pastedimage1684474520807v1.png

    Maybe you can create one custom column on your table, then you can retrieve POA table to get user id.

    https://powerusers.microsoft.com/t5/Using-Connectors/Dynamics-365-retrieving-record-share-recipients/td-p/1232540 

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 215

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 139 Super User 2025 Season 2

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 123

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans