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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. 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?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |