Connect a Microsoft Fabric integration

Connect your Microsoft Fabric Warehouse to Tekst so Tekst can read the ERP data you keep there. For example, Process Intelligence can use SAP's sales, delivery and billing tables (such as vbak, vbap, likp, lips, vbrk, vbrp and vbfa) to analyze your processes. Tekst only reads: it never writes to your warehouse.

Tekst signs in with a Microsoft Entra service principal (an app registration with a client secret), not with a user account.

Before you start

Check the following before you connect:

  • A Fabric Warehouse in a workspace that runs on a Fabric capacity.
  • Your data is in one schema of that Warehouse, for example dbo. Tekst connects to a single schema, so keep the tables it needs together in the same one.
  • Public network access to the Warehouse. Tekst connects over the internet. Private links and private endpoints are not supported.
  • Someone who can register an app in Microsoft Entra ID, and an Admin of the Fabric workspace.
  • You have the Admin or Contributor role in Tekst.

Step 1: Register the app

  1. In the Microsoft Entra admin center, open App registrations and click New registration.
  2. Enter a Name you will recognize.
  3. Under Supported account types, select Single tenant only.
  4. Leave Redirect URI empty and click Register.
  5. On the Overview page, note the Application (client) ID and the Directory (tenant) ID.

Register an application form with a name filled in and Single tenant only selected

The app needs no API permissions.

Step 2: Create a client secret

  1. Open Certificates & secrets > Client secrets > New client secret.
  2. Enter a description, pick an expiry and click Add.
  3. Copy the Value right away. Entra shows it in full only once. The Secret ID is not the secret.

Note the date in the Expires column as well. You need a new secret before that date, as described in "Change the client secret" below.

Add a client secret panel with the Description field and the default expiry Recommended: 180 days (6 months)

Step 3: Give the app access to the workspace

In Microsoft Fabric:

  1. Open the workspace that holds your Warehouse and click Manage access.
  2. Click Add people or groups, search for the app by name, choose Viewer and click Add.

Viewer is enough: Tekst only reads.

Add people panel in a Fabric workspace with the app selected and the Viewer role chosen

The Fabric tenant setting "Service principals can call Fabric public APIs" (Admin settings > Developer settings) is enabled by default. Leave it on.

Step 4: Find the SQL endpoint and warehouse name

In the workspace, click ... next to your Warehouse and choose Copy SQL connection string. It looks like <unique identifier>.datawarehouse.fabric.microsoft.com.

The warehouse name is the item name in the workspace list.

The menu of a Warehouse in the Fabric workspace list, with Copy SQL connection string near the bottom

Step 5: Connect in Tekst

  1. Go to Integrations and click Connect Integration.
  2. Find Fabric (category Data warehouse) and click Connect.

The Connect page filtered on the Data warehouse category, showing the Postgres, Redshift, Fabric and Databricks cards

  1. In the Connect Microsoft Fabric dialog, fill in all six fields:
    • Directory (tenant) ID and Application (client) ID: from the app's Overview page.
    • Client secret: the secret Value.
    • SQL endpoint: the SQL connection string from Step 4, pasted as it is. Don't add a port (,1433) or tcp:.
    • Warehouse: the warehouse name, as shown in the workspace list.
    • Schema: the schema that holds your tables, typed exactly as in Fabric including upper and lower case, for example dbo.
  2. Click Connect. The button stays disabled until every field is filled in.

The Connect Microsoft Fabric dialog with the Directory (tenant) ID, Application (client) ID, Client secret, SQL endpoint, Warehouse and Schema fields

Expected result: Tekst checks that it can sign in and see at least one table in the schema. The dialog closes, and the integration's configuration panel opens showing Connected.

Verify the connection later

Open the integration, go to the Advanced tab and click Verify connection. Tekst doesn't recheck the connection by itself, so verify again after you change the client secret or the workspace access.

The Advanced tab of the Integration configuration panel with the Verify connection button

What happens next

Tekst support reviews with you which tables Tekst loads and runs the first sync. Syncs don't run on a schedule, so the data in Tekst is as current as the last sync. To update it, a user with the Admin or Contributor role opens the integration, goes to the Catalog tab and clicks Sync.

Change the client secret

Tekst does not warn you before the client secret expires. The next sync fails instead, so renew the secret before its expiry date.

  1. Create a new client secret on the app, as in Step 2.
  2. In Tekst, open the integration, go to the Settings tab and click Reconnect.
  3. Fill in all fields again, with the new secret.

With exactly the same SQL endpoint, warehouse and schema (same upper and lower case), Tekst updates the existing integration. Tell Tekst support, because their table setup is reset. A different SQL endpoint, warehouse or schema creates a second integration.

Troubleshooting

Connect errors appear in red at the top of the Connect Microsoft Fabric dialog.

Microsoft Entra sign-in errors:

  • "Could not connect to the warehouse: Token request failed: Invalid client secret. Copy the secret's Value from Entra, not its Secret ID." - the Secret ID was pasted instead of the Value. Copy the Value, or create a new secret if you no longer have it.
  • Any other "Token request failed" message, or Microsoft Entra sign-in failed (AADSTSxxxxx). - Microsoft Entra refused the sign-in. Check the Directory (tenant) ID and Application (client) ID against the app's Overview page, and check that the client secret hasn't expired. If it has, follow "Change the client secret".

Warehouse errors:

  • Could not connect to the warehouse: Login failed for user '<token-identified principal>' - the app has no access to the workspace. Give it the Viewer role, as in Step 3.
  • Any other "Could not connect to the warehouse: ..." message - the warehouse name is wrong. The text after the colon comes from Fabric.
  • Schema "<schema>" not found, or has no tables visible to this service principal - the schema name is wrong (check upper and lower case), or the schema has no tables.
  • "<host>" is not an allowed warehouse host. or Could not resolve warehouse host "<host>". - the SQL endpoint is wrong. Copy it again as in Step 4.

Verify connection shows its result as a pop-up, not in the dialog:

  • "Integration is not healthy - please check your credentials" - the client secret expired or the app lost its workspace role. Fix it, then Reconnect on the Settings tab.

If you have an issue following this guide or have any other questions, please submit a request or send your question to support@tekst.com.

0 comments

Please sign in to leave a comment.