Skip to main content
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.
The Microsoft Fabric integration is in Beta and is enabled per workspace. If you don’t see Microsoft Fabric under your project’s Integrations, .
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.
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
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.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.

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

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.
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.
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.
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.
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.
Fabric is restarting or updating the workspace. Try again shortly. Registered tables keep serving their last snapshot until a refresh succeeds.
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.
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

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.
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.
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.
Connection secrets are encrypted in your browser before they are sent, stored encrypted at rest, and never shown again after you save the connection.
Last modified on November 25, 2026