Forum Discussion

ati_puri's avatar
ati_puri
Resolver III
8 months ago
Solved

Bearer Token support for Fabric REST API

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.

  • ati_puri's avatar
    ati_puri
    8 months ago

    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.

2 Replies

  • 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:

     

     
    Authorization: Bearer <access_token>
     

    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:

    ati_puri

    • ati_puri's avatar
      ati_puri
      Resolver III

      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.