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.
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
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 |
---|---|
51 | |
22 | |
18 | |
17 | |
15 |
User | Count |
---|---|
42 | |
19 | |
19 | |
18 | |
17 |