cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HulstB Frequent Visitor
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

Accepted Solutions
Community Support
Community Support

Re: PowerBI http request log audit

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
Community Support
Community Support

Re: PowerBI http request log audit

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

HulstB Frequent Visitor
Frequent Visitor

Re: PowerBI http request log audit

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

NareshPanta Frequent Visitor
Frequent Visitor

Re: PowerBI http request log audit

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

 

Helpful resources

Announcements
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors