Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
We have followed the steps given for registering a service principal for external customer App. We need to get the embed token from Power BI Rest API using a Java backend. Java app first acquired the access token from Microsoft Graph and then called the below endpoint -
However we are getting 401 error with response header
X-PowerBI-Error-Info : ServicePrincipalsNotAllowedByTebsntAdminSwitch.
Could some one provide some feedback what is missing ?
Yes , the SP does have permission.
n Portal or in our case Azure ?
Hey @vpandey07 ,
I'm not the expert on this field but maybe this guy can deliver you an idea for troubleshooting your issue.
https://pbi-guy.com/2023/05/21/create-a-post-request-with-power-bi/
Do you have given tenant permission to your SP to use XMLA endpoint? (in your tenant settings).
Regards
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
37 | |
30 | |
18 | |
14 | |
8 |
User | Count |
---|---|
50 | |
38 | |
31 | |
15 | |
13 |