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
- Anonymous6 years agoNot applicable
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
- mssiasco2 years agoNew Member
Just apply below registery patch, I tried it and it worked perfectly.
1. Make a new text file and copy this text to it:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\PBIRS\CPE] "CustomerFeedback"=dword:00000000 "EnableErrorReporting"=dword:000000002. Rename it to patch.reg
3. Run it by double click on it.