Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
analyst85
Helper I
Helper I

Viewing dataflow usage by user

Is it possible with the API to see my users by dataflow? Not the developer specific operations like opening the dataflow, or refreshing, but where someone has directly used it in a report by importing it into Power BI desktop for example.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @analyst85 ,

You can get the users by dataflow in Power BI using the following REST APIs:

Dataflows - Get Dataflows - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Admin - Dataflows GetDataflowUsersAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

GET https://api.powerbi.com/v1.0/myorg/admin/dataflows/{dataflowId}/users

 

The user must have administrator rights (such as Office 365 Global Administrator or Power BI Service Administrator) or authenticate using a service principal.

Delegated permissions are supported.


The above one only get the user information about access rights and permissions not the usage details. You can refer the following links to get the usage details by audit log or usage metrics:

Track user activities in Power BI - Power BI | Microsoft Learn

Visualize your Azure Audit Logs with Power BI | Microsoft Power BI Blog | Microsoft Power BI

 

Monitor usage metrics in workspaces (preview) - Power BI | Microsoft Learn

Power BI Usage Metric Reporting: A Guide to Game-Changing Insights - P3 Adaptive

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @analyst85 ,

You can get the users by dataflow in Power BI using the following REST APIs:

Dataflows - Get Dataflows - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Admin - Dataflows GetDataflowUsersAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

GET https://api.powerbi.com/v1.0/myorg/admin/dataflows/{dataflowId}/users

 

The user must have administrator rights (such as Office 365 Global Administrator or Power BI Service Administrator) or authenticate using a service principal.

Delegated permissions are supported.


The above one only get the user information about access rights and permissions not the usage details. You can refer the following links to get the usage details by audit log or usage metrics:

Track user activities in Power BI - Power BI | Microsoft Learn

Visualize your Azure Audit Logs with Power BI | Microsoft Power BI Blog | Microsoft Power BI

 

Monitor usage metrics in workspaces (preview) - Power BI | Microsoft Learn

Power BI Usage Metric Reporting: A Guide to Game-Changing Insights - P3 Adaptive

Best Regards

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.