Forum Discussion
mattcarter865
Helper I
4 years agoSome REST API calls return status 405 using PowerShell
I'm testing the waters with some REST calls for Power BI. I'm using the PowerShell cmdlets. I can successfully make calls to some api endpoints for example listing the refresh history of a dataset D...
- Anonymous4 years ago
Hi mattcarter865 ,
Both of the following REST APIs are only for datasets that perform asynchronous refresh operation operations:
- Datasets - Cancel Refresh In Group: Cancels the specified asynchronous refresh operation for the specified dataset from the specified workspace.
- Datasets - Get Refresh Execution Details In Group: Returns execution details of an asynchronous refresh operation for the specified dataset from the specified workspace.
There are the following limitations for asynchronous refresh with the Power BI REST API, that is probably the reason for getting 405 error...
HTTP Error “405 Method Not Allowed”: How to solve the problem
Best Regards
Anonymous
4 years agoNot applicable
Hi mattcarter865 ,
Both of the following REST APIs are only for datasets that perform asynchronous refresh operation operations:
- Datasets - Cancel Refresh In Group: Cancels the specified asynchronous refresh operation for the specified dataset from the specified workspace.
- Datasets - Get Refresh Execution Details In Group: Returns execution details of an asynchronous refresh operation for the specified dataset from the specified workspace.
There are the following limitations for asynchronous refresh with the Power BI REST API, that is probably the reason for getting 405 error...
HTTP Error “405 Method Not Allowed”: How to solve the problem
Best Regards