Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi
Is there a way to use PowerShell to get a list of reports/datasets a specific user have access to?
Thanks!
Daren
Solved! Go to Solution.
Probably, via the REST API. The reason I say probably is it will show users and groups with access, but will not show the users within the groups, so if a user has access because they are in a specific group, you'd need to know they were in that group, or use PowerShell to enumerate group users.
Datasets - Get Dataset Users - REST API (Power BI Power BI REST APIs) | Microsoft Docs is per report.
Datasets - Get Dataset Users In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs works with workspaces too.
I don't think there is a command to work with the entire tenant, so you'd need to loop through workspaces.
To be clear, this is answering the question in the opposite way you asked. You cannot run a powershell against a user id to see what they have access to. You'd need to run it against reports or workspaces and see what users have access to those.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingProbably, via the REST API. The reason I say probably is it will show users and groups with access, but will not show the users within the groups, so if a user has access because they are in a specific group, you'd need to know they were in that group, or use PowerShell to enumerate group users.
Datasets - Get Dataset Users - REST API (Power BI Power BI REST APIs) | Microsoft Docs is per report.
Datasets - Get Dataset Users In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs works with workspaces too.
I don't think there is a command to work with the entire tenant, so you'd need to loop through workspaces.
To be clear, this is answering the question in the opposite way you asked. You cannot run a powershell against a user id to see what they have access to. You'd need to run it against reports or workspaces and see what users have access to those.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingAdvance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 18 | |
| 11 | |
| 11 | |
| 10 |