Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Special holiday offer! You and a friend can attend FabCon with a BOGO code. Supplies are limited. Register now.
Fabric REST API source system only supporting bearer authorization process. Can someone help with the process. As within fabric we have SPN/Entra ID and basic authentication mechanisms.
Solved! Go to Solution.
Actually we are trying to acess a data source API and the only authorization provided in bearer token, we did it now using AKV(bearer token stored here) and used this AKV secret in copy job source-> additional headers.
This helped us to use bearer token from customer API.
Hi
Fabric REST APIs don’t use basic auth. They only accept bearer tokens, and those tokens come from Microsoft Entra ID.
So even though Fabric supports Service Principals and Entra ID, the REST API itself always expects:
In practice, you authenticate with Entra ID (usually using a service principal), Entra issues an access token, and that token is passed to Fabric as a bearer token.
You just need to:
Enable Service principals can use Fabric APIs in tenant settings
Give the SPN access to the workspace or items
Use OAuth 2.0 (client credentials flow) to get the token
Here you can find a quick start using Fabric APIs: https://learn.microsoft.com/en-us/rest/api/fabric/articles/get-started/fabric-api-quickstart
Regards...
Actually we are trying to acess a data source API and the only authorization provided in bearer token, we did it now using AKV(bearer token stored here) and used this AKV secret in copy job source-> additional headers.
This helped us to use bearer token from customer API.