Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |