Microsoft Fabric / connected ingestion lessons

Native dbt Jobs in Microsoft Fabric Data Factory Guide

A native dbt job lets you build and test SQL transformations inside Fabric without installing a local runner. Learn the managed workflow with the supplied sample first; then decide whether its adapters, authentication, deployment and artifact behavior fit your existing project.

Documentation reviewed 2026-10-30. Follow the supported path, verify the output, then automate.

1. What dbt owns—and what it does not

A dbt project describes SQL models, dependencies, tests, macros and configuration. Fabric’s native item supplies managed execution, supported connections, schedules and run visibility. It does not automatically extract every source database or replace an ingestion pipeline.

ApproachGood reason to choose itEvaluate carefully
Native Fabric dbt jobKeep supported transformations, run monitoring and orchestration alongside Fabric items.Runtime/adapter support, authentication, project import and artifact behavior.
dbt CloudUse the hosted dbt development/operating features your team already relies on.Licensing, platform coverage and external integration.
External CI/orchestrator invoking dbtControl the runner, packages, version and cross-system dependencies.Runner maintenance, credentials, artifacts and observability.

No option is universally best. Lack of native build caching is relevant to projects that depend on prior-run state artifacts, but it does not prevent ordinary selectors or incremental model materializations from being useful.

Keep existing external orchestration if it meets the requirement. Do not migrate just to remove a box from an architecture diagram.

2. Check the tenant setting, roles and target access

The official overview still labels the enabling tenant setting dbt jobs (preview). Use the documented configuration surface in OneLake catalog → Govern → Configurations → Tenant settings, or its available admin entry point in your tenant. An administrator can scope access to approved groups.

  • Contributor or higher is required to create/manage the dbt job in its workspace.
  • The target needs the required read/write permissions for the transformations and DDL you will run.
  • Check access to linked connections and data; a workspace role is not a universal grant across external targets.
  • Use an eligible active Fabric capacity and verify feature availability in the tenant before planning production use.

Use a practice Warehouse/schema for the sample. dbt materializations, seeds and full-refresh operations can replace or recreate target objects. Do not connect a learning project to a schema used by business reports.

Current adapter authentication differs: Fabric Warehouse/Lakehouse use documented Entra OAuth paths, Azure SQL lists Basic or service principal, PostgreSQL lists Basic, and Snowflake uses its supported Snowflake authentication. Do not assume one authentication method works for every adapter.

3. Use the current adapter matrix—not the launch-era list

The current Microsoft-managed runtime matrix lists the following versions. Treat this as a reviewed snapshot; inspect the current documentation/runtime before importing a project that depends on a specific feature.

TargetAdapter packageListed adapter version
Fabric Warehousedbt-fabric1.10.0
Fabric Lakehousedbt-fabricspark1.12.2
Azure SQL Databasedbt-sqlserver1.9.1
PostgreSQLdbt-postgres1.10.0
Snowflakedbt-snowflake1.11.5

These are listed under runtime V1.0, dbt Core 1.11, Python 3.12. Do not identify the Azure SQL adapter as dbt-fabric or assume the Warehouse and Lakehouse use the same SQL dialect/materialization behavior.

A supported adapter is not permission to install any community adapter or arbitrary Python dependency in the managed runtime. Validate packages, macros and hooks with the chosen adapter and sample data; do not infer compatibility from successful project import.

Do not make production decisions from a promised Fusion integration date. The current supported managed runtime is the contract to evaluate. Future-engine announcements do not establish that build caching, a new adapter or a particular speedup is available now.

4. Run the supplied sample before importing your own project

  1. In your practice workspace, create a dbt job and give it a recognizable demo name.
  2. Select Practice with Sample Project and the Jaffle Shop sample. This avoids inventing project configuration or downloading a second unverified tutorial bundle.
  3. Select a profile and create/connect a dedicated practice Warehouse. Inspect the proposed schema; the sample tutorial uses jaffle_shop. Keep seed loading enabled for this self-contained sample.
  4. Wait for import/setup to finish. Open the Warehouse and confirm sample seed tables exist in the actual configured schema. A project folder alone does not prove target connectivity.
  5. Choose Build, then Run. Inspect the output and model/test-level results, not only the top-level success badge.
  6. Open the Warehouse and verify the transformed sample tables/views. Inspect their keys and aggregates against the seeded inputs.
  7. Open Compiled SQL to see what the adapter submitted and Lineage view for project model dependencies.

Expected outcome: sample seeds are present, the selected build succeeds, expected project models are created, and configured tests report their results. Inspect the imported project rather than hard-coding a row count that may change with sample versions.

The sample is intentionally separate from the five-row orders lesson. Once the workflow is understood, you can build an adapter-appropriate project over approved curated data. For the existing orders sample, retain the known business check—three orders totaling 245.00—and define the actual source/table access explicitly. Do not point a Warehouse adapter at a read-only Lakehouse SQL endpoint and expect it to write tables.

5. Know which commands actually build, test and document

CommandPurposeCommon misunderstanding
dbt compileRender project SQL for inspection.Compilation does not prove correct data or successful materialization.
dbt runBuild selected SQL models in dependency order.It is not a substitute for running tests.
dbt seedLoad project CSV seeds.Seeds are useful reference/sample data, not a general CDC ingestion service.
dbt testExecute defined data/schema tests.A test only checks the rule actually defined; missing tests are not implied guarantees.
dbt buildBuild applicable selected resources and execute tests in the dependency graph.It does not publish an entire multi-model project as one atomic transaction.
dbt snapshotTrack changes with the project’s configured snapshot strategy.History semantics and adapter support need deliberate configuration.
dbt docs generateGenerate documentation artifacts in run output.Fabric stores the artifacts but does not currently render that documentation inside the experience.

Use the supported model selection or advanced-selector UI to limit a run. Rebuilding the whole project is not always necessary. A model/test graph is not proof of complete end-to-end report lineage across every system.

Before scheduling your own project, define meaningful tests: key uniqueness/non-null rules, accepted values, relationship expectations and business totals where applicable. A model can execute valid SQL and still return the wrong result.

6. Verify reruns, failures and schedules

Rerun the same sample with unchanged inputs and compare key counts/aggregates. The correct result depends on each materialization; incremental models need explicit keys, filters and update/delete semantics. No-build-caching does not mean incremental tables are automatically rebuilt from scratch every time.

In a practice copy of the project, introduce an obvious invalid column reference in one model, run only the affected scope, and verify the error identifies that model. Restore it and rerun successfully. For data-quality failures, add an approved test to a practice model with a known offending row and verify the failure output. Do not create failures in a production schema.

Review Run Results, Output, Compiled SQL and downloadable logs. Logs may contain SQL or sensitive identifiers, so follow normal access and retention controls. Use the actual error code/message; do not assume every verbose run is subject to a universal 1 MB/error-2001 rule unsupported by the current dbt-job overview.

Only after a manual run and data checks pass, add a schedule. Set repeat interval, start/end time and time zone deliberately. For upstream dependencies, use a supported pipeline dbt-job activity and success/failure conditions; a wall-clock schedule is not proof that ingestion has completed.

Avoid scheduling the same job both directly and through a pipeline unless intentional. Choose concurrency/threads from measured target capacity, and do not enable full refresh on a production incremental project without understanding its rebuild impact.

7. Deploy supported configuration—not assumptions

Native job deployment and the location of project source are related but separate. A GitHub-connected project is not automatically the same thing as synchronizing a Fabric workspace to Git.

Current documented import limits include more than 5,000 files not supported for project import. For larger projects, use the documented GitHub connection or split the project. The GitHub execution path requires dbt_project.yml at repository root and currently supports a classic PAT for authentication. Keep the token in the approved connection workflow; never commit it to the repository.

For the documented Warehouse CI/CD pattern, Variable Library can supply workspace ID, Warehouse ID and SQL endpoint. Connection name and schema name are not variable-enabled; the example keeps them consistent across environments.

  1. Create approved Dev/Test/Prod resources and the required connections/permissions.
  2. Bind supported adapter fields to the appropriate Variable Library values.
  3. Deploy the job and Variable Library to Test. Select the Test value set explicitly and verify that models are created in the Test Warehouse.
  4. If a pipeline calls the job, deploy both together and verify the supported relative item reference resolves to the Test job.
  5. Repeat the target/access/result checks before enabling production execution.

All value sets can travel with the library, but only one is active per workspace. A newly deployed library can initially use its default value set. Never infer that deployment alone selected Production correctly. Adapter-enabled fields differ, so do not generalize the Warehouse example to every target.

8. Acceptance checklist and safe cleanup

  • The tenant allows the feature and your selected adapter/authentication is supported.
  • The project compiles, builds and runs its intended tests against a dedicated target schema.
  • Keys, types and business aggregates match an explicit source contract.
  • Reruns behave as expected; a failing model/test is visible and understood.
  • Schedules or pipeline dependencies use the correct time zone, identity and target.
  • Each environment resolves the intended connection/resource values after deployment.
  • Required prior-run artifacts/state are available by a supported design, not assumed from the last run.

The service currently compiles/executes fresh from source and does not supply previous-run artifacts for recompilation. Ordinary selectors still work; do not assume native persisted-state Slim CI is available merely because you used state:modified. Keep an external supported artifact workflow where your project requires one.

When finished, disable the demo schedule and remove only the demo job/Warehouse after confirming they have no other consumers. Deleting a dbt job does not mean all materialized target objects disappear; review those separately. Do not delete a shared Warehouse as tutorial cleanup.

Continue to Runtime for Spark compatibility context or the Warehouse module for analytical table design. dbt is optional for the learning route—it is not a prerequisite for running the existing pipeline/notebook lesson.

Common questions

What runtime does a native Fabric dbt job use?

The current Microsoft matrix lists runtime V1.0 with dbt Core 1.11 and Python 3.12. Runtime and adapter versions can change, so check the managed matrix for your project.

Is the Fabric Lakehouse adapter still coming soon?

No. Current guidance lists dbt-fabricspark for Lakehouse, separately from dbt-fabric for Warehouse. Their dialect, permissions and configuration must be evaluated separately.

Does no build caching mean incremental models cannot work?

No. Previous-run compilation artifacts are not supplied automatically, but that is different from the target-table logic of an adapter-supported incremental materialization.

Does Fabric automatically switch every connection on deployment?

No. The documented Warehouse Variable Library pattern supports specific resource fields, while connection and schema names remain fixed. Verify the active value set and actual target after deployment.

Can dbt docs generate display a documentation site inside Fabric?

It generates artifacts in run output, but the current Fabric experience does not render the documentation site. Use an approved standard dbt documentation workflow to view it.

Official references and review scope

Checked against the following official vendor documentation on 2026-10-30. This is an independent learning guide, not a Microsoft certification, benchmark or customer deployment report. These workflows have not been executed in your Fabric tenant. Expected values are teaching acceptance checks; validate feature availability, identity, network, schema and recovery requirements before production use.

Scroll to Top