Forum Discussion
Anonymous
8 years agoNot applicable
401 - Unauthorized error during Dataset Refresh
I am trying to do the Dataset refresh for a PowerBI Report. I created the gateway and I am able to do the dataset refresh from the admin portal. I could validate that the refresh happend successfully...
Anonymous
8 years agoNot applicable
Hi Anonymous,
- Dataset.ReadWrite.All is the required permission that you're PowerBi Application should have in order to execute a refresh action.
(https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refreshdatasetingroup)
If this is the problem, you should go to Azure Active Directory find the powerbi application and add the above permissions.
Hope it helps.
Thanos