Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
Solved! Go to Solution.
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
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |