> ## Documentation Index
> Fetch the complete documentation index at: https://docs.speckle.systems/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> These docs describe Speckle as it works today, including everything released in 2026.9. Treat page content as current unless the page or section says it applies only to versions published before 2026.9.
> Content scoped to versions published before 2026.9 (the object graph and root object, Proxies, Receive2, operations.receive, object.children) applies only to model versions in that earlier data format. For versions published in 2026.9, answer from the Object model pages and the SDK migration guides.
> The What's new pages summarise what changed in 2026.9 and link to the page that documents each change. Answer from the linked page rather than from the summary. Legacy (v2) connectors are retired; send questions about them to the community help forum.
> Match guidance to the customer's deployment, model data format, connector, plan and permissions. Self-hosted servers on a release before 2026.9 follow Data model migration for developers. If an unknown version or data format changes the answer, ask one focused question; do not infer the deployment version from the date alone.

# Enable Microsoft Fabric Integration

> IT administrator setup steps to prepare Microsoft Fabric and connect a Warehouse or Lakehouse in Speckle.

Beta

This guide is for IT administrators who need to prepare Microsoft Fabric and connect a Warehouse or Lakehouse in Speckle before users can register tables and query them in AI chat and data tools.

> [!NOTE]
>
> The Microsoft Fabric integration is in **Beta** and is enabled per workspace. If you don't see
> Microsoft Fabric under your project's **Integrations**, [request beta access](https://docs.speckle.systems/get-involved/user-testing.md#open-opportunities).

If your organisation has not prepared Microsoft Fabric for Speckle yet, the steps below need three roles, which can be one person or several:

* Someone who can register an application in **Microsoft Entra ID**.
* A **Fabric administrator**, to check one tenant setting.
* An **Admin** or **Member** of the Fabric workspace that holds the data.

Speckle reads Microsoft Fabric through a Microsoft Entra **service principal** you create (an app registration with a client secret). The role you give that service principal on a Fabric workspace defines what Speckle can read. Speckle reads tables and views from a **Warehouse**, or from a **Lakehouse** through its SQL analytics endpoint, and never writes to Fabric.

## Prepare the service principal and workspace

**1. Register an app in Microsoft Entra ID**

In the Microsoft Entra admin center, go to **Entra ID > App registrations** and select **New registration**. Enter a name you will recognise later, for example `speckle-fabric`, and select **Register**.

On the app's **Overview** page, copy the **Application (client) ID** and the **Directory (tenant) ID**.

**2. Create a client secret**

On the app registration, open **Certificates & secrets > Client secrets** and select **New client secret**. Add a description, choose an expiry, and select **Add**.

Copy the secret's **Value** now and store it securely. Microsoft Entra shows it only once. The **Secret ID** next to it is not the secret, and Speckle cannot use it.

**3. Allow service principals in Fabric**

As a Fabric administrator, open the Fabric admin portal, go to **Tenant settings**, and find **Service principals can call Fabric public APIs** under **Developer settings**. Some Microsoft pages still call it **Service principals can use Fabric APIs**. Make sure it is enabled.

If the setting applies only to specific security groups, add the app to one of those groups. The service principal is now allowed to connect to Fabric.

**4. Give the service principal a workspace role**

Open the Fabric workspace that holds the Warehouse or Lakehouse and select **Manage access**. Select **Add people or groups**, search for the app by its name, choose the **Viewer** role, and select **Add**.

The app is listed with the Viewer role. Viewer is enough for Speckle.

**5. Copy the SQL connection string**

Open the **Settings** of the Warehouse, or of the Lakehouse's SQL analytics endpoint, and open the **SQL connection string** page. Copy the value. It looks like `xxxxxxxx-xxxxxxxx.datawarehouse.fabric.microsoft.com`.

Note the name of the Warehouse or Lakehouse as well. You now have everything Speckle asks for.

> [!WARNING]
>
> Items in **My workspace** cannot be shared with a service principal. Keep the Warehouse or
> Lakehouse in a regular Fabric workspace. Fabric cannot move an item between workspaces, so
> recreate it there if needed.

The SQL connection string belongs to the Fabric workspace. Every Warehouse and Lakehouse in the same workspace shares it, so one connection in Speckle can read all of them.

## Connect the Warehouse or Lakehouse in Speckle

You need to be a workspace admin in Speckle.

**1. Open the Microsoft Fabric integration**

In Speckle, open your project's **Integrations > Microsoft Fabric** and select **Connect to Microsoft Fabric**.

The connection form opens.

**2. Enter your connection details**

Fill in:

* **Name** — a label for the connection list, e.g. `Production warehouse`.
* **SQL endpoint server** — the SQL connection string, e.g. `xxxxxxxx-xxxxxxxx.datawarehouse.fabric.microsoft.com` (host name only, no port or prefix).
* **Database** (optional, under **Limit to one item**) — leave it blank to browse every Warehouse and Lakehouse in the Fabric workspace. Enter the name of one Warehouse or Lakehouse, exactly as Fabric shows it, to limit the connection to that item.
* **Tenant ID** — the **Directory (tenant) ID** of the app registration.
* **Client ID** — the **Application (client) ID** of the app registration.
* **Client secret** — the secret's **Value**.

![Microsoft Fabric connection form](https://mintcdn.com/speckle/BdVZsJNyzuA-v3_y/images/connectors/data-warehouses/connect_fabric.png?fit=max\&auto=format\&n=BdVZsJNyzuA-v3_y\&q=85\&s=460e83e18468772c3fa20fb36fd24d3d)

Your connection details are ready to save.

**3. Save and test**

Select **Add connection**. Speckle saves the connection and tests it against the SQL endpoint.

If the test passes, Speckle lists the Warehouses and Lakehouses of the Fabric workspace, or the schemas of the one item you limited the connection to. If it fails, the form stays open with the reason, so you can correct the values and save again. See [Troubleshooting](#troubleshooting).

To test a saved connection again later, open its settings next to the connection list at the top of the page and select **Test connection**.

One connection reads every Warehouse and Lakehouse in a Fabric workspace that the service principal can read, unless you limit it with **Database**. To read another Fabric workspace, select **Add connection** and enter that workspace's **SQL endpoint server**.

Once a connection works, users can continue with [Microsoft Fabric user setup](https://docs.speckle.systems/connectors/cloud-integrations/microsoft-fabric.md).

## What Speckle can do in Microsoft Fabric

**Speckle only reads.** It lists schemas, tables, and views, previews rows, and runs `SELECT` queries on the columns users chose when they registered a table. Nothing is written to Fabric.

**The workspace role defines the boundary.** A workspace role, Viewer included, lets the service principal read every Warehouse and SQL analytics endpoint in that Fabric workspace. A Speckle connection lists all of them unless its **Database** field limits it to one. To limit what Speckle can read, keep the data you want to expose in a dedicated Fabric workspace and give the service principal a role only there.

**Speckle connects from its servers to Fabric.** The SQL connection uses TCP port 1433 with TLS encryption. Speckle also calls `login.microsoftonline.com` and `api.fabric.microsoft.com` over HTTPS to sign in as the service principal and to call the Fabric API.

**The Fabric capacity must be running.** The workspace needs a Fabric capacity, and a paused capacity refuses connections. A trial capacity works.

**Connection secrets are protected in Speckle.** The client secret is encrypted in your browser before it is sent, stored encrypted at rest, and never shown again after you save the connection.

## Troubleshooting

> [accordion] I cannot find the tenant settings in Fabric
>
> Only a Fabric administrator can see or change tenant settings. Ask a Fabric administrator to
> check **Service principals can call Fabric public APIs** for you. Microsoft describes the ways
> to reach the page in [How to get to the tenant
> settings](https://learn.microsoft.com/en-us/fabric/admin/about-tenant-settings#how-to-get-to-the-tenant-settings).

> [accordion] Sign-in fails with an invalid client secret
>
> The **Client secret** field holds the **Secret ID** instead of the secret's **Value**, or the
> secret has expired. Create a new client secret in Microsoft Entra ID, open the connection's
> settings in Speckle, and enter the new **Value**.

> [accordion] The connection cannot be established although the IDs are correct
>
> The service principal has no role on the Fabric workspace that the **SQL endpoint server**
> belongs to. Most often the Warehouse or Lakehouse is in **My workspace**, or the role was given
> on a different workspace. Add the app as Viewer on the workspace that holds the item, and copy
> the SQL connection string from that same item.

> [accordion] The connection works but nothing is listed
>
> If you filled in **Database**, check that it is the name of the Warehouse or Lakehouse, not of
> the workspace. For a Lakehouse, a new table can take a short while to appear in the SQL
> analytics endpoint, so wait a moment and reload the page.

> [accordion] Speckle reports that the Fabric capacity is paused
>
> Resume the capacity that the Fabric workspace runs on in the Azure portal and try again. A
> capacity that was just resumed can take a couple of minutes to accept connections. Registered
> tables keep serving their last snapshot until a refresh succeeds.

> [accordion] Speckle reports that Microsoft Fabric is temporarily unavailable
>
> Fabric is restarting or updating the workspace. Try again shortly. Registered tables keep
> serving their last snapshot until a refresh succeeds.

> [accordion] Registered tables stop refreshing after I changed Database
>
> A table registered while the connection was limited to one Warehouse or Lakehouse is stored
> without the item name, and a table registered from the full tree is stored with it. If you clear
> **Database**, or set it to a different item, tables registered the other way can no longer
> refresh. They keep serving their last snapshot. Set **Database** back to its earlier value, or
> register the tables again from the tree.

> [accordion] A Warehouse or Lakehouse is missing from the tree
>
> Check that the service principal can read the item. Speckle also leaves out items whose names
> contain characters other than letters, numbers, spaces, underscores, and hyphens.

## FAQ

> [accordion] Can Speckle modify or write to my Warehouse or Lakehouse?
>
> No. Speckle is read-only in Microsoft Fabric. It only runs `SELECT` queries against the schemas,
> tables, and views users browse or register and never writes, alters, or deletes data.

> [accordion] What controls which Fabric data Speckle can read?
>
> The service principal's role on the Fabric workspace. Speckle can only read Warehouses and
> Lakehouses in workspaces where you gave the service principal a role — nothing more.

> [accordion] What happens when the client secret expires?
>
> Refreshes and browsing fail until you replace it. Registered tables keep serving their last
> snapshot. Create a new client secret in Microsoft Entra ID and enter its **Value** in the
> connection's settings in Speckle.

> [accordion] How are Microsoft Fabric connection secrets protected?
>
> Connection secrets are encrypted in your browser before they are sent, stored encrypted at rest,
> and never shown again after you save the connection.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.