Microsoft Fabric (public preview)

Overview

This guide explains how to set up a Microsoft Fabric integration with Monte Carlo.

What is Microsoft Fabric?

Microsoft Fabric is an analytics platform that supports end‑to‑end data workflows, including data ingestion, transformation, real‑time stream processing, analytics, and reporting. It provides integrated experiences such as Data Engineering, Data Factory, Data Science, Real‑Time Intelligence, Data Warehouse, and Databases, which operate over a shared compute and storage model.

This integration connects Monte Carlo to SQL Analytics Endpoints inside a Microsoft Fabric workspace. The following items inside a Microsoft Fabric workspace have SQL Analytics Endpoint and can be connected using this integration:

  • Lakehouse
  • Warehouse
  • SQL Database (see below about SQL Analytics Endpoint access vs direct SQL DB Access)
  • Mirrored Databases: replication into OneLake from sources like
    • Azure SQL
    • Azure Cosmos DB
    • Snowflake

Each item needs to be a separate integration. They will have identical feature support and will look similar from the Monte Carlo's point of view.

🚧

SQL Analytics Endpoints

The Microsoft Fabric integration only connects Monte Carlo to SQL Analytics Endpoints. It is also possible to connect Monte Carlo directly to the SQL Database instances running within Microsoft Fabric Workspaces, but that is done using Azure SQL Database integration.

Feature Support

CategoryMonitor / Lineage CapabilitiesSupport
Table MonitorFreshness (via opt-in volume monitor)
Table MonitorVolume (opt-in)
Table MonitorSchema Changes
Table MonitorJSON Schema Changes
Metric MonitorMetric
Metric MonitorComparison
Validation MonitorCustom SQL
Validation MonitorValidation
Job MonitorQuery performance
LineageLineage
Query LogsQuery Logs
🚧

Augmenting Collected Data

It is possible to augment the data that Monte Carlo is able to collect via read-only access, to unlock additional features in our product. Specifically, column lineage, query history, and freshness timestamps can be sent to Monte Carlo via Push Ingest API.

More information on monitors in Monte Carlo.

Microsoft Fabric Prerequisites

Monte Carlo requires read-only permissions to extract metadata and, optionally, run SQL monitors against Microsoft Fabric SQL Analytics endpoints. The authentication method is Service Principal. Access is provided via tenant_id, client_id, and client_secret for an authorized Enterprise Application.

Notes / Recommendations

  • We recommend creating a dedicated Enterprise Application rather than using existing credentials.
  • If deploying behind an IP allowlist or private network, ensure Monte Carlo has network access to the cluster and REST API endpoints. See IP Allowlisting for the IP addresses to allowlist for your deployment.

Installation

This section guides you through setting up a Microsoft Fabric integration with Monte Carlo.

📘

Prerequisites

Before proceeding, ensure you have:

  • A Monte Carlo account with permissions to add integrations
  • Admin access to your Azure portal (to create a new Enterprise Application in Entra ID section)
  • Network connectivity between Monte Carlo and your Microsoft Fabric workspace

Step 1: Azure Portal Setup

1. Create a new Enterprise Application in Entra ID

We recommend creating a dedicated Enterprise Application for Monte Carlo rather than using existing credentials.

  1. Navigate to Microsoft Entra ID inside your Azure portal.
  2. Click + Add button and select App registration.
  3. Enter name montecarlo.
  4. Click Register
  5. Note the Application (client) ID and Directory (tenant) ID values. You will need to provide these values to Monte Carlo.

2. Create an Client Secret in your Enterprise Application

  1. In your new Enterprise Application, go to Certificates and Secrets section
  2. Click + New client secret button to create a new secret, and copy and save the value. You will need to provide that value to Monte Carlo.
    Note: you can only see value right after the secret is created. If you don't save it, you will not be able to see it again.

3. Gather authentication information

You will need the following values from your Enterprise Application:

FieldDescriptionWhere to Find
Tenant IDYour organization's ID in Azure PortalFound in your Entra ID section under Tenant ID, e.g. 4ef6ba51-341b-4b33-89b1-b9140ea62cef
Client IDYour new Enterprise application IDFound in your new Enterprise Application page under Application ID, e.g. 57031eae-1278-4d79-833e-22f899976203
Client SecretValue of your client secretCan only be seen right after secret creation time. If lost, make a new secret in your application.

Step 2: Microsoft Fabric Workspace Setup

1. Allow Fabric access to the new Enterprise Application at the Viewer level

  1. In your Fabric Workspace, click Manage access button in the top right corner.
  2. Click + Add people or groups
  3. Type the name of your Enterprise Application (montecarlo)
  4. Select Viewer level access, this ensures the read-only capabilities for the new application.

2. Gather connection information

You will need the following values from your Microsoft Fabric setup:

FieldDescriptionWhere to Find
HostYour SQL Endpoint hostnameFound in the SQL endpoint tab of your Warehouse/Lakehouse/etc Settings under SQL connection string (e.g. myworkspace.datawarehouse.fabric.microsoft.com)
PortHTTPS port for connectionsDefault is 1443
DatabaseYour SQL Endpoint NameFound in the About tab of your Warehouse/Lakehouse/etc Settings under name (e.g. MyDb1)

Step 3: Add Microsoft Fabric Integration in Monte Carlo

You can add the Microsoft Fabric integration using the Monte Carlo UI or CLI.

UI

Navigate to Settings then Integrations. On that page click add and select Microsoft Fabric.

Fill the form with the authentication and connection values gathered in previous steps.

CLI

📘

CLI Setup

If you haven't installed the Monte Carlo CLI, follow the CLI setup guide first.

Run the following command, replacing the placeholder values with your connection information:

Usage: montecarlo integrations add-microsoft-fabric [OPTIONS]

  Setup a Microsoft Fabric integration. For metadata, and custom SQL monitors.

Options:
  --name TEXT             Friendly name for the created integration (e.g.
                          warehouse). Name must be unique.  [required]
  --connection-name TEXT  Friendly name for the connection.
  --port INTEGER          HTTP port.  [default: 1443]
  --host TEXT             Hostname.  [required]
  --database TEXT         Database name.  [required]
  --tenant-id TEXT        Tenant id.  [required]
  --client-id TEXT        Client id.  [required]
  --client-secret TEXT    Client secret. If you prefer a prompt (with hidden
                          input) enter -1.  [required]
  --agent-id UUID         ID for the agent. To disambiguate accounts with
                          multiple agents. This option cannot be used with
                          'dc-id'.
  --collector-id UUID     ID for the data collector. To disambiguate accounts
                          with multiple collectors. This option cannot be used
                          with 'agent-id'.
  --skip-validation       Skip all connection tests. This option cannot be
                          used with 'validate-only'.
  --validate-only         Run connection tests without adding. This option
                          cannot be used with 'skip-validation'.
  --auto-yes              Skip any interactive approval.
  --option-file FILE      Read configuration from FILE.
  --help                  Show this message and exit.

Example:

montecarlo integrations add-microsoft-fabric \
  --name ms-fabric \
  --host datawarehouse.fabric.microsoft.com \
  --database MyDb1 \
  --port 1443 \
  --tenant-id 4ef6ba51-341b-4b33-89b1-b9140ea62cef \
  --client-id 57031eae-1278-4d79-833e-22f899976203 \
  --client-secret -1

After configuring your integration, you can see details, run validations, and delete the connection on the integrations page

Step 4: Configure monitors (optional)

Freshness and volume monitoring for Microsoft Fabric requires creating SQL monitors. Unlike some other integrations, these are not enabled automatically.

To set up Freshness and Volume Monitors:

  1. Navigate to the table you want to monitor in Monte Carlo
  2. Click Monitors
  3. Click Enable
  4. To enable row count and freshness monitoring on a given table, click the Enable row count monitoring button on the table summary page
  5. Enable any other desired monitors

For detailed instructions, see SQL Rules documentation.

FAQs

What Microsoft Fabric products are supported?

Anything that has a SQL Analytics Endpoint, which includes Lakehouses, Warehouses, SQL Databases, and Mirrored Databases (replication in OneLake).

What authentication methods are supported?

Currently, Monte Carlo supports Service Principal authentication for Microsoft Fabric.

Why don't I see automatic freshness and volume monitors?

Unlike some other integrations, Microsoft Fabric requires opt-in SQL monitors for freshness and volume monitoring. This is because Microsoft Fabric doesn't expose the metadata timestamps needed for automatic monitoring. See Step 4 in the installation guide for setup instructions.

Are there any known limitations?

  • Query performance and query logs are not supported.
  • Lineage is not supported.
  • Automatic freshness/volume monitors are not available; SQL monitors must be configured manually.

Is it possible to work around these limitations?

Yes, it is possible to augment the data that Monte Carlo is able to collect via read-only access, to unlock additional features in our product. Specifically, column lineage, query history, and freshness timestamps can be sent to Monte Carlo via Push Ingest API.