Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint

Hello! I am trying to use the ExecuteQueries endpoint of the PowerBI API in order to execute some DAX, but for this specific dataset and workspace combination, I am getting a 401 PowerBINotAuthorizedException.

 

I have added the service principal to the workspace and other endpoints work without issue, such as getting the refresh history.

7 Replies