Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 |