Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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 |
---|---|
8 | |
6 | |
5 | |
2 | |
2 |
User | Count |
---|---|
4 | |
4 | |
3 | |
3 | |
2 |