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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
cyberoner1
New Member

PowerBI Rest Api page view in event Data or where to get?

hi all 

 

I created a python script which can give me all events on report site. But how can I get more insights in the api? I need to get on on which site the user clicked in the reportset and even, if possible, which filter he has used.

 

Any idea how to do so?

9 REPLIES 9
v-tsaipranay
Community Support
Community Support

Hi @cyberoner1 ,

 

Could you please confirm if you've submitted this as an idea in the Ideas Forum? If so, sharing the link here would be helpful for other community members who may have similar feedback.

For any further discussions or questions, please feel to reach out.

 

Thank you for being part of the Microsoft Fabric Community.

v-tsaipranay
Community Support
Community Support

Hi @cyberoner1 ,

 

I understand your preference for working with Python, and I’d like to clarify the current capabilities. The Power BI REST API and Microsoft 365 audit logs only provide high-level activity information, such as report views, dashboard access, or dataset refreshes. They do not expose detailed interactions like report page navigation, applied filters, or visual clicks.

 

The only supported way to capture this level of detail is through the Power BI JavaScript API in embedded scenarios, which was specifically designed for monitoring user interactions. At present, there is no alternative in the REST API or audit logs that would allow the same functionality using Python.

 

If this capability is critical to your scenario, I recommend submitting or upvoting an idea in the Fabric Ideas - Microsoft Fabric Community so it can be considered for future development.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @cyberoner1 ,

 

We haven’t received an update from you in some time. Could you please let us know if the issue has been resolved?
If you still require support, please let us know, we are happy to assist you.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @cyberoner1 ,

 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @cyberoner1 ,

 

I understand you're interested in whether Power BI user activity can be accessed from Microsoft 365 (Purview) audit logs and retrieved using a Python API. You're right that the audit logs do capture general Power BI activities such as viewing reports, accessing dashboards, and refreshing datasets but they do not currently include granular metadata like ReportPageName, filters applied, or visual interactions within the Power BI Service.

If you're looking to retrieve available audit data programmatically, here are two supported options:

  • Office 365 Management Activity API :
    This API allows you to access audit logs for Power BI and other Microsoft 365 services. You can filter by workload (PowerBI) and activity types.
  • Microsoft Graph API (via Entra ID / Azure AD) :
    You can query audit logs and sign-in logs, which may include Power BI access events, though again, not page-level or filter-level details.

Both APIs can be accessed using Python (e.g., via requests or msal libraries), and they expose the same audit data available in the Microsoft Purview compliance portal.

For page-level or filter-level tracking, the only supported method remains Power BI Embedded using the JavaScript API, which allows you to monitor user interactions like page navigation, filter changes, and visual clicks but only in embedded scenarios, not in the standard Power BI Service.

Hope this helps. Please reach out for further assistance.

 

Thank you.

 

Hi,

well JavaScript is not the language I prefer so I have to dig in deeper. 

v-tsaipranay
Community Support
Community Support

Hi @cyberoner1 ,

 

I wanted to follow up on our previous suggestions. We would like to hear back from you to ensure we can assist you further.

 

Thank you.

Thanks a lot for this information. This is not the answer I hoped, so I voted to get the ReportPageName in the API Call from Admin events. Is it possible to see the user activity in audit log and connect via API (Python)

v-tsaipranay
Community Support
Community Support

Hi @cyberoner1 ,
Thank you for reaching out to the Microsoft fabric community forum.

 

You're on the right path by using the Power BI REST API to access report event data. Currently, this API only gives you general information, like when a report is viewed or shared. It doesn't provide specific details such as which page a user clicked, what filters were applied, or which visuals were interacted with.

If you're using Power BI Embedded (for example, embedding reports into a web app), you can use the Power BI JavaScript API, which does let you track things like page changes, filter updates, and visual clicks. But this only works in embedded scenarios, not in the Power BI Service directly.

Currently, there’s no supported way to get that level of detail from users viewing reports in the Power BI Service. You might also want to watch Microsoft Fabric features like Event Streams, which could support more detailed tracking in the future.

Hope this helps. Please reach out for further assistance.

 

Thank you.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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