Anonymous
5 years agoNot applicable
Status:
New
Error code PowerBINotAuthorizedException while using new Power BI REST APIs for DAX queries
Hi, I have successfully started to use the new support for DAX query using Power BI Rest APIs. However I have encountered an issue which seems to be undocumented. Authenticating using a service...
sstockda
4 years agoRegular Visitor
Ok - I burnt way too much time finding this out. My very first attempt at using executeQueries was to a mixed mode dataset so I was struggling thinking that I had a my service principal or client app configured incorrectly.
I've just tested by loading a simple import dataset into workspace 1 & 2. And a mixed mode dataset that in 1 that references a dataset in 2. Then using the same service princial account I "executeQueries" against the import dataset in both workspaces - but then get the PowerBINotAuthorizedException when I try to execute against the mixed mode dataset.
So the principal account is setup and configued correctly for both workspaces. This feels more like a bug than a missing feature.