Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
Trying to use API REST CALL with service principal - Datasets - Execute Queries In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Anyone solved the case ?
Best,
Jacek
Yes it is enabled for this service principal (not for all users)
I know the limitation listed above and this is not answering the question.
So what is the behaviour MS designed?
dataset with no RLS + SP used + no impersonation - this works (impersonation if provided is ignored)
Hi, I am facing the same issue. Executing queries on a dataset without RLS works through Rest API, but as soon as I enable RLS and use impersonation I get the PowerBINotAuthorizedException.
It's a DirectLake dataset and the user that is being impersonated is a tech user with all rights granted to the dataset.
Is there any solution to this issue?
I get the limitation, but in this case for what there is imparsonation field in body of the request ?
Can you confirm that the tenant admin enabled the setting?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 4 | |
| 4 | |
| 3 |