Microsoft Fabric Lakehouse
Configure Nilus metadata pipelines for Microsoft Fabric Lakehouse SQL analytics endpoints.
Microsoft Fabric is supported as a metadata source through its Lakehouse. Nilus reads the Lakehouse's SQL analytics endpoint to catalog its tables and views. A spec.type: metadata pipeline introspects a Fabric Lakehouse and publishes source context, including workspaces, lakehouses, schemas, tables, views, columns, lineage, profiles, and classification, into the DataOS metadata catalog without copying any table rows. Nilus connects over ODBC using a Microsoft Entra service principal.
This is the same service_type: fabric connector used for the Fabric Warehouse; the difference is only which SQL analytics endpoint you point it at. For the Warehouse variant, see Microsoft Fabric Warehouse metadata. For batch loading into a Lakehouse, see Microsoft Fabric Lakehouse destination.
For the field-by-field authoring contract, see Metadata pipeline config.
Metadata stages
service_type: fabric supports metadata, lineage, profiler, and classification. The required mode field decides how much of the DAG runs: shallow runs metadata + lineage; deep adds profiler and classification. The usage stage is not supported for Microsoft Fabric. Nilus skips it even in deep mode.
metadata
shallow, deep
Workspaces, lakehouses, schemas, tables, views, and columns, including data types, nullability, precision/scale, and object descriptions where available.
lineage
shallow, deep
Asset and column lineage parsed from view definitions and query history.
profiler
deep
Per-column statistics (row counts, null counts, distinct counts, min/max, basic distributions).
classification
deep
Auto-classification tags applied to columns from sampled data (PII heuristics).
query_log_duration and result_limit tune the lineage stage.
Asset hierarchy
Microsoft Fabric Lakehouse assets map into the Datasets App as Workspace → Lakehouse → Schema → Table/View → Column. The workspace and lakehouse are derived from the SQL analytics endpoint and the lakehouse name in the connection; schemas, tables, views, and columns are read from the lakehouse's SQL analytics catalog.
Source options
Metadata pipelines accept only the customer-facing source.options keys below. Do not set source_table. Nilus assigns a stage-specific value to each DAG node internally.
service_type
Yes
all
Must be fabric.
schema_filter
No
all
Restrict by schema name. Object with includes / excludes arrays of regex patterns.
table_filter
No
all
Restrict by table / view name. Same shape as schema_filter.
query_log_duration
No
lineage
Days of query history to ingest per run. Defaults to 1.
result_limit
No
lineage
Maximum number of query-history rows to fetch per run. Defaults to 10000000.
threads
No
profiler
Parallel worker count for the profiler. Raise it to cut runtime on large scopes.
mode (shallow or deep) is a required spec field, not a source.options key.
Authentication and prerequisites
Microsoft Fabric Lakehouse metadata connects through a Microsoft Entra service principal. There is no DataOS depot variant for Fabric. Before configuring the pipeline:
Register an Entra application
Register an Entra application (App registration) in the Fabric tenant. Note its Application (client) ID, Directory (tenant) ID, and create a client secret.
Record the Lakehouse SQL analytics endpoint and port
The URI must include an explicit port after the endpoint host (typically 1433). Nilus rejects a Fabric URI without a port.
Enable service principal access in Fabric
In the Fabric/Power BI admin tenant settings, allow service principals to use Fabric APIs (and, where required, add the app to the security group permitted to do so).
Grant the service principal access to the workspace
Add the app as a member of the Fabric workspace that contains the Lakehouse (Viewer role is sufficient for read-only metadata).
Grant read on the Lakehouse
In the Lakehouse's SQL analytics endpoint, create a database user for the service principal and grant it read:
Sample Nilus config
Fabric metadata connects only through a direct fabric:// URI. Because spec.type is metadata, Nilus adds the internal metadata+ routing prefix automatically. The service principal's client ID goes in the username position, the client secret in the password position (projected), the Lakehouse's SQL analytics endpoint host and its mandatory port follow, the lakehouse name goes in the path, and the Microsoft Entra directory (tenant) ID is passed as the required tenant_id query parameter.
You can project the SQL analytics endpoint host itself from a secret (for example FABRIC_SQL_ENDPOINT) and reference it in the URI; Nilus resolves the projected value before generating the catalog service ID, so a projected endpoint produces the same service ID as an inline one.
The hostPort is the Lakehouse's SQL analytics endpoint plus its mandatory port (for example <id>.datawarehouse.fabric.microsoft.com:1433), and the path segment is the lakehouse name. Nilus connects with the ODBC Driver 18 for SQL Server by default; override it with a driver query parameter only if your runtime ships a different ODBC driver.
With mode: deep, this resource produces a four-node DAG (metadata root → lineage, profiler, classification). Switch to mode: shallow for a 2-node metadata + lineage DAG. For more ready-to-edit examples, see Metadata sample configs.
Behavior and capabilities
Connection: direct
fabric://...URI only. There is no DataOS depot variant for Fabric. Nilus adds the internalmetadata+routing prefix fromspec.type: metadata. The URI requires an explicit port, a lakehouse name in the path, andtenant_idas a query parameter. Omitting any of them fails fast at parse time.Bound Lakehouse wins: The Lakehouse named in the URI path defines inventory scope. A
database_filtertargeting another workspace object is ignored. See database_filter evaluation guidance.Authentication: Microsoft Entra service principal (client ID + client secret + tenant ID) over ODBC. Rotate the client secret before it expires. An expired secret fails authentication.
Supported capabilities: inventory (workspaces, lakehouses, schemas, tables, views, columns, data types, nullability, precision/scale, descriptions), lineage, profiling, and classification. Usage is not supported for Microsoft Fabric.
Scope discipline: set
schema_filter/table_filterin production. An unfiltered sweep over a large lakehouse can take hours per stage.
Troubleshooting
Microsoft Fabric URI requires a port.
The endpoint host has no :<port> segment.
Add the SQL analytics endpoint port after the host, typically :1433.
Microsoft Fabric URI requires 'tenant_id' as a query parameter.
tenant_id missing from the URI.
Add ?tenant_id=<directory-tenant-id> to the address.
Microsoft Fabric URI requires warehouse name in the path.
No lakehouse segment in the URI path.
Append /<lakehouse_name> to the host in the address.
Login failed / AADSTS7000215: Invalid client secret
Wrong or expired client secret, or the service principal is not enabled in Fabric.
Rotate the client secret; confirm the tenant setting allows service principals to use Fabric APIs.
Inventory is empty
The service principal is not a member of the workspace, or lacks read on the lakehouse.
Add the SP to the workspace and grant SELECT / VIEW DEFINITION on the lakehouse.
Data source name not found / ODBC driver error
The runtime is missing the expected ODBC driver.
Ensure ODBC Driver 18 for SQL Server is available, or pass a matching driver query parameter.
Lineage incomplete
The SP can read tables but not view definitions.
Grant VIEW DEFINITION on the lakehouse.
Related Docs
Microsoft Fabric Warehouse: the Warehouse variant of the same connector.
Microsoft Fabric Lakehouse: batch loading into a Fabric Lakehouse.
Metadata sources: all metadata-capable sources and how to scope extraction.
Metadata pipelines: the conceptual model.
Metadata pipeline config: the
spec.type: metadatacontract and DAG anatomy.Metadata sample configs: ready-to-edit YAML.
Last updated
Was this helpful?