Anonymous
9 years agoNot applicable
Status:
Needs Info
Data Refresh API error in PowerShell
Hello, I'm getting the following error when using the sample code in GitHub. Invoke-RestMethod : The remote server returned an error: (415) Unsupported Media Type. At C:\Users\user\Documents...
Anonymous
9 years agoNot applicable
Hi v-haibl-msft and Vicky_Song,
I did try with a different dataset and still get the same error. Here's the link to the code;
https://github.com/Azure-Samples/powerbi-powershell/blob/master/manageRefresh.ps1
And Yes I can manually and periodically refresh the dataset without any issue.
Please let em know if you need any further details.
Thanks,
Anton