Forum Discussion
Anonymous
8 years agoNot applicable
Power Shell Invoke-PowerBIRestMethod -Method Post failing
Hi, I'm trying to create script that will refresh some datasets through Power BI API. I have registered App in Active Directory and gave it almost every permissions possible for Power BI Service (o...
GilbertQ
Super User
8 years agoHi there
My understanding is that in order for the API to refresh it actually has to write data back into the dataset.
And that would appear as to why it is failing. I would suggest adding the permissions for read and write and see if the script then works.
My understanding is that in order for the API to refresh it actually has to write data back into the dataset.
And that would appear as to why it is failing. I would suggest adding the permissions for read and write and see if the script then works.
- Anonymous8 years agoNot applicable
Hi Gilbert,
thanks for your reply. App is registered in AD with all permissions possible. Is there something different (perhaps on tetant level) that can override them?
- GilbertQ8 years ago
Super User
Hi there
I would suggest making sure at the top where it says"Application Permissions you got that set to what is shown below.
- Anonymous6 years agoNot applicable
where can I get this screen and configure the permission ? I am service admin.