This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
Getting error message at line 78 when have followed the steps in
Assuming domain is just <companyname.com>?
Anyone knwo how to resolve this?
Thanks
https://www.proserveit.com/blog/power-bi-usage-metrics-across-all-workspaces
and used powershell
https://github.com/ssugar/Blog/blob/master/PowerBIUsage/Scripts/Get-PowerBIUsage.ps1
Invoke-RestMethod : The remote server returned an error: (404) Not Found.
At C:\pbi_pshell\Get-PowerBIUsage.ps1:78 char:21
+ ... $response = Invoke-RestMethod -Method Post -Uri "$powerBiEndpoint" -B ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
I cannot seems to find the powerbi usages powershell. it is thouging a 404 when i try to get the powershell
The endpoint must be along the lines
"https://api.powerbi.com/beta/$tenantID/datasets/$datasetid/rows?key=$PushKey"
check line 14 in your script to make sure you properly defined the endpoint.
Thanks for reply.
I copied the endpoint as suggested in the blog - when type the endpoint url itself in a browser get below but not sure if that usual with a streaming dataset.
What shoudl the endpoint url be?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |