Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
<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>
Solved! Go to Solution.
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:
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:
3.Next, check whether the security group to which your service principal belongs has the privilege of member or above:
Solved: Power Bi REST API - 401 Authorization error when u... - Page 2 - Microsoft Fabric Community
4.Finally, check whether API Permission is enabled.
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.
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:
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:
3.Next, check whether the security group to which your service principal belongs has the privilege of member or above:
Solved: Power Bi REST API - 401 Authorization error when u... - Page 2 - Microsoft Fabric Community
4.Finally, check whether API Permission is enabled.
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.
Any one can help here ? Thankyou
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
7 | |
2 | |
2 | |
1 |
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 |