Forum Discussion
NicolasLJ
2 years agoFrequent Visitor
Power BI API : GET Refresh works, but POST does not
Hi, I'm testing Dataset refresh through API with Postman. I created and registered an app in AD with Dataset.ReadWrite.All Granted When I send a GET resquest with a Bearer Token I get the histo...
- 2 years ago
I was trying to save you time but it seems like you insist on using Postman. So please verify this
Then verify that you added the App registration to a security group and at the tenant level
You should also know that a new token is generated every hour and you can only use POST https://api.powerbi.com/v1.0/myorg/datasets/xxxxx/refreshes up to 8 times a day for a shared workspace capacity, just like you schedule a refresh in the service.
So if you are planning on using retool.com then you know what to expect.
However I would recommend that you use Power Automate to create a button in your reports for an unlimitted on-demand refreshes.
- 2 years ago