Announcements
No record found.
Hi everyoneMy employer has 26 Business Units within Dynamics, and records are shared between these Unit. My personal record is shared with around of these Business Units.However, when I view my record (in SQL or Power BI) by looking at the Contact Entity, I can only find details of the Owning Business Unit. Where would I need to look for details of the other Business Units that my record is shared with?I've looked at this article - https://www.linkedin.com/pulse/dynamics-365-view-shared-records-hussein-fawzy/ - but cannot find the POA table when using SQL or Power BI.Many thanksJon
Hello,
I am able to query POA table using SQL4CDS plugin in XRMToolbox.
www.xrmtoolbox.com/.../
Select * FROM principalobjectaccess where objectid="cfa89936-0154-ec11-8f8e-6045bd733548"
objectid -> Your Contact Record ID
You will get UserId/TeamId in response, now to get the BU you will need to do join with systemuser/team table.
/*For User*/
Select * FROM principalobjectaccess pinner join systemuser s on p.principalid=s.systemuserid where p.objectid="cfa89936-0154-ec11-8f8e-6045bd733548" and p.principaltypecode="systemuser" /*For Team*/ Select * FROM principalobjectaccess pinner join team t on p.principalid=t.teamid where p.objectid="cfa89936-0154-ec11-8f8e-6045bd733548" and p.principaltypecode="team"
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
Hi,
To query POA table from Power Bi, I tried below approach and it is working -
Open Power BI Desktop->Get Data->Power Platform->Common Data Service (Legacy)->Provide Service URL/CRM URL->Select POA as highlighted below from System entities
Hi there
Many thanks for your reply.
Unfortunately I'm getting the following error when I try to sigin to CDS:Do you know why this could be?
Many thanksJon
Check if you are providing correct password?
Also, try with different User account. Have you enabled MFA on your user account?
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 209 Super User 2026 Season 1
CU11031447-0 100
NeerajPawar 71