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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
p_da
Helper I
Helper I

Microsoft Fabric REST API Auth as Service Principal

Hey all, 

 

I'm having some issue trying to use Microsoft Fabric REST APIs authenticating via Service Principal auth, however, it is returning an error sayin that Service Principals is not supported. I know that there was a message on the REST API page in the documentation saying that, however the message has been removed. Does anyone knows if this limitation has been removed or if still ?

 

Thanks

2 REPLIES 2
p_da
Helper I
Helper I

Sorry for late reply. My question is, is Service Principal AUTH available in APIs ?

Anonymous
Not applicable

Hi @p_da ,

 

A service principal is an authentication method that can be used to give Microsoft Entra applications access to Power BI service content and APIs.

 

When you create a Microsoft Entra application, a Service Principal object is created. The Service Subject object (also known as a Service Principal) allows the Microsoft Entra ID to authenticate the application. Once authenticated, the application can access Microsoft Entra tenant resources.

 

In Microsoft Fabric, Service Principal authentication is supported for datasets, data streams (Data Stream Gen1 and Data Stream Gen2), and data markets. Local and VNET Data Gateway connections can now be authenticated using SPN.

 

More detailed information can be found in the documentation:

Enable service principal authentication for read-only admin APIs - Microsoft Fabric | Microsoft Lear...

Service principal support in Data Factory - Microsoft Fabric | Microsoft Learn

Embed Power BI content in an embedded analytics application with service principal and an applicatio...

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors