Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Not able to App Only Authentication with Power BI Embedding by using service principal

I am using app only authentication with power bi embedding and following below steps:
1. Registered an App in Azure Active Directory and capture an application ID, an application secret, and the service principal object ID.
2. Create a security group in Azure Active Directory (AAD).
3. In Power BI admin, enable service principal in the Developer settings and add the security group
4. Add the service principal as an admin to the workspace
But I am getting error "Operation returned an invalid status code 'Unauthorized'"

 

1 REPLY 1
v-evelk
Microsoft Employee
Microsoft Employee

Hello,

 

I am sorry but this question is out of our expertise.

It is better to ask it in a Service thread.

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors