Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anchal
Regular Visitor

Dataflow transaction API

<span>Hey, ai want to get the dataflow refresh details and i am trying to hit the dataflow transactions power bi rest api in power automate using service principal. But it is giving an unauthorised as error ..detailed error is - service principal is not allowed by tenant admin switch ... Can someone plz help what exact access permission does the service prinicipal need in the client environment  to hit the api ?</span>

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Anchal 

Regarding the issue you raised, my solution is as follows:

1.First, based on your error message, we think it may be due to insufficient permissions, and you can try assigning roles to your service principal:

vlinyulumsft_0-1725848462026.png
Azure - Creating Service Principal with Tenant Admin Permission - Stack Overflow
2.
Second, you can check that you have the following enabled in the admin portal:

vlinyulumsft_1-1725848462029.png

3.Next, check whether the security group to which your service principal belongs has the privilege of member or above:

vlinyulumsft_2-1725848495082.png

 


Solved: Power Bi REST API - 401 Authorization error when u... - Page 2 - Microsoft Fabric Community

4.Finally, check whether API Permission is enabled.

vlinyulumsft_3-1725848495084.png


Of course, if you have any new ideas, you are welcome to contact us.
 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @Anchal 

Regarding the issue you raised, my solution is as follows:

1.First, based on your error message, we think it may be due to insufficient permissions, and you can try assigning roles to your service principal:

vlinyulumsft_0-1725848462026.png
Azure - Creating Service Principal with Tenant Admin Permission - Stack Overflow
2.
Second, you can check that you have the following enabled in the admin portal:

vlinyulumsft_1-1725848462029.png

3.Next, check whether the security group to which your service principal belongs has the privilege of member or above:

vlinyulumsft_2-1725848495082.png

 


Solved: Power Bi REST API - 401 Authorization error when u... - Page 2 - Microsoft Fabric Community

4.Finally, check whether API Permission is enabled.

vlinyulumsft_3-1725848495084.png


Of course, if you have any new ideas, you are welcome to contact us.
 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anchal
Regular Visitor

Any one can help here ? Thankyou

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors