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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
HulstB
Frequent Visitor

PowerBI http request log audit

Where can I see the requests made to our PowerBI reports and their HTTP status codes?

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @HulstB ,

 

As a Power BI service admin, you can analyze usage for all Power BI resources at the tenant level by using custom reports based on the Power BI activity log. You can download the activities by using a REST API or PowerShell cmdlet.

For details, please refer to this document: Track user activities in Power BI.

I tested the PowerShell method:

1. If you don't installed the Power BI Management cmdlets locally, please install it first.

Install-Module -Name MicrosoftPowerBIMgmt

Or, update it:

Update-Module -Name MicrosoftPowerBIMgmt

2. Get Power BI activity log.

Login-PowerBI
$activities = Get-PowerBIActivityEvent -StartDateTime '2020-01-01T00:00:00.000'-EndDateTime '2020-01-01T23:59:59.999' | ConvertFrom-Json
$activities.Count
$activities[0]

activities.PNG

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Icey
Community Support
Community Support

Hi @HulstB ,

 

As a Power BI service admin, you can analyze usage for all Power BI resources at the tenant level by using custom reports based on the Power BI activity log. You can download the activities by using a REST API or PowerShell cmdlet.

For details, please refer to this document: Track user activities in Power BI.

I tested the PowerShell method:

1. If you don't installed the Power BI Management cmdlets locally, please install it first.

Install-Module -Name MicrosoftPowerBIMgmt

Or, update it:

Update-Module -Name MicrosoftPowerBIMgmt

2. Get Power BI activity log.

Login-PowerBI
$activities = Get-PowerBIActivityEvent -StartDateTime '2020-01-01T00:00:00.000'-EndDateTime '2020-01-01T23:59:59.999' | ConvertFrom-Json
$activities.Count
$activities[0]

activities.PNG

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi 

Thank you. 

I am trying to use the rest api but getting error "403Forbidden". 

I am using the basic authentication with username/password. The user has "Power BI admin" role.

Do you know why this error is coming?

 

Thanks 

Naresh

 

HulstB
Frequent Visitor

This is very usefull, especially with the example output. I will try it out. Thanks.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors