Fabric Data fetching API

Shubham 0 Reputation points
2024-09-05T14:50:50.1266667+00:00

I have created an azure app from which I need to pull user data present on their fabric workspaces (lakehouses, warehouses etc.).
Fabric APIs like :

GET https://api.fabric.microsoft.com/v1/workspaces/<workspace_id>/lakehouses/<lakehouse_id>

returns onelake paths and connection strings like :

{

  "id": "<lakehouse_id>",

  "type": "Lakehouse",

  "displayName": "TestLakehouse",

  "description": "",

  "workspaceId": "<workspace_id>",

  "properties": {

    "oneLakeTablesPath": "https://onelake.dfs.fabric.microsoft.com/<workspace_id>/<lakehouse_id>/Tables",

    "oneLakeFilesPath": "https://onelake.dfs.fabric.microsoft.com/<workspace_id>/<lakehouse_id>/Files",

    "sqlEndpointProperties": {

      "connectionString": ".........dcgootakasfs4i.datawarehouse.fabric.microsoft.com",

      "id": "<connection_id>",

      "provisioningStatus": "Success"

    }

  }

}

I have access token from this api:

https://login.microsoftonline.com/common/oauth2/v2.0/token

But not able to access onelake api with this and what can I use to connect with connection string returned in response without any authorization.

Is there any other way to access data stored on the fabric workspace.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,873 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Smaran Thoomu 17,120 Reputation points Microsoft Vendor
    2024-09-05T21:46:08.3166667+00:00

    @Shubham - Thanks for the question and using MS Q&A platform.

    Microsoft Fabric is currently not supported in the Q&A forums, the supported products are listed over here https://docs.microsoft.com/en-us/answers/products (more to be added later on).

    Can you please open as a new thread in MS Fabric community: https://community.fabric.microsoft.com/t5/General-Discussion/bd-p/ac_generaldiscussion User's image

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.