Forum Discussion
Power BI Report Server Telemetry
Hi.
Thank you for sharing this. I'm having issues related to Telemetry and want to disable the feature.
I'm a novice with PowerShell, So I struggling to get your Powershell command working. (I want to follow through what you're done and keen to learn).
I have:
((Invoke-RestMethod -Uri "http://servername/Reports/api/v2.0/telemetry" -method get -userdefaultcredentials)).properties
What am I missing before "((Invoke-RestMethod -Uri.." ?
I ssume I should use the full server url including "http://" Is that correct?
Are there any dependencies? Do I need to load any Power modules first?
Thanks
Pete
Hello kiwipeet ,
no, I user native PowerShell commands without any modules running below PowerShell Version:
PowerShell Version
You need permissions to access RS API, if your account you are using doen't have permissions to access RS API you can modify command by removing "-UseDefaultCredentials" and replace with "-Credential domain\useraccount". Then PowerShell will not use current user but user you have entered.
Query RS API
Using this query you'll query possibilities to access RS API. You want to query "Telemetry" values.
Query Telemetry
Then query "Telemetry" to get results. As you can see values are listed at "Properties" value.
When querieing "properties you should see RS Telemetry values.
Hope this helps.
Cheers
Daniel