Is fabric providing any GraphAPI for fetching table data?

Nakul Prajapati 0 Reputation points
2025-02-04T11:50:07.0166667+00:00

I have uploaded some csv data on fabric, for this i created workspace and in workspace i create lakehouse, then in this lakehouse i upload a file and then change this file into table, now i want to fetch this tables data using graph api. i can't use odbc driver because this is not feasible way for my project, I am trying to find any fabric graph api if fabric is provided.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,994 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 1,425 Reputation points Microsoft Vendor
    2025-02-05T08:30:41.9933333+00:00

    Hi Nakul Prajapati ,

    Thanks for reaching out to Microsoft!

    For now, from a Graph API perspective, it is possible to fetch the table using the Graph API

    GET /me/drive/items/{id}/workbook/tables/{id|name}

    Get TableRow : GET /me/drive/items/{id}/workbook/tables/{id|name}/rows/{index} retrieve the index and values of the row

    Get TableColumn : GET /me/drive/items/{id}/workbook/tables/{id|name}/columns/{id|name} retrieves the index and values of the column.

    You can refer to the following documentation for more details: Fetch tables using Graph API.

    Note: This API supports only delegated permissions.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments

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.