Feature Request: Expose Effective Workspace Users (Expand Entra ID Groups in Access Results) #930
AnalyticsInAction
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
|
See #932. Also, the function sempy_labs.graph._group.list_group_members already exists. This should give you all the components to merge the 2 dataframes together to get the desired list. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request: Expand Group Membership for Workspace Access Reporting
Current Behavior
Semantic Link Labs currently provides the ability to see which individual users, Entra ID groups, and service principals have access to a workspace using the
list_workspace_access_detailsfunction:This returns a pandas DataFrame (screenshot below) showing each principal that has access to the workspace, including:
principalType(e.g.User,Group,ServicePrincipal)Example output (truncated):
Limitation
If access is granted via an Entra ID group, the DataFrame only shows the group object (e.g.
principalType == "Group"). It does not list the individual users who are members of that group, or members of nested groups.From a governance / audit / least-privilege perspective, the key question we need to answer is:
Right now, we cannot answer that directly from Semantic Link Labs.
Current Workaround
Today, the only way (as I understand it) is to:
Take the group's Entra ID object ID from the DataFrame.
Call Microsoft Graph separately to expand that group and get all effective users:
This returns all members of the group, including indirect membership via nested groups.
Union:
list_workspace_access_detailstransitiveMembersfor each groupDedupe by user object ID
That gives you the effective user list for the workspace, but it requires stitching Fabric admin APIs with Microsoft Graph manually.
Why This Matters
For governance, security reviews, and compliance sign-off, we typically need to report:
Right now, we can see groups, but groups can easily hide large numbers of people — so the true blast radius of a workspace is unclear.
Feature Request
It would be extremely useful if Semantic Link Labs could optionally return the effective user list for a workspace.
Concretely:
Example (conceptually):
This would let us answer “Who can access this workspace?” without having to manually call Graph for each group and merge results ourselves.
Question
Is this in scope for Semantic Link Labs, or is the intention that consumers should always join Fabric access data with Graph themselves?
Beta Was this translation helpful? Give feedback.
All reactions