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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

New Member

Capture Power BI Usage Metrics Data

Hello Everyone,


I am working on setting up a dashboard which will show the usage metrics for all the PowerBI reports being created across various workspaces that I have. In order to capture the usage metrics, I am using a PowerShell script that collects the data using a REST API. I have followed the steps mentioned in the link : Power BI Usage Metrics Across All Workspaces: Step by Step (


However, when I run the code, I am getting the below mentioned error.

'Invoke-RestMethod : The remote server returned an error: (404) Not Found.'



Can anyone please let me know how can this be resolved? Is there any additional admin rights or changes in the code that I need to be aware of?


Thanks and Regards,

Anushri Bhagwath


Super User
Super User

Please show the sanitized URL of your call against the activity log.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors