Forum Discussion
Anonymous
4 years agoNot applicable
Refresh Execution Details API status 405
I am testing the REST call for Refresh Execution Details in PowerBI and getting a 405 Method not Allowed. I understand that this endpoint does not work for scheduled and manual refreshes. But I am tr...
Anonymous
4 years agoNot applicable
Hi Anonymous,
what kind of request are you using to get infromations about refresh? I'm using
Sometime we get error with this API when there was mistake in JSON body for refresh api.
- Anonymous4 years agoNot applicable
Hi Marky,
Thanks for the insight!
Yes I am using a service principal with Dataset.ReadWrite.All and Dataset.Read.All permissions. I actually use that one to get the refresh history via the api and works just fine. The problem comes when I use the request you posted here (https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes/{refreshId})
I am still facing this issue
- Anonymous4 years agoNot applicable
Is the service principal admin for the workspace where dataset is?