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 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |