A practical path to fresher SQL data, with table-level checks you can trust
Your pipeline is green, but your sales report still shows yesterday’s data. The load finished; the latest lakehouse changes have not reached the SQL reading path.
A SQL analytics endpoint lets you query lakehouse tables using SQL. Metadata synchronization keeps that view aligned with lakehouse changes. SQL analytics endpoint’s new metadata sync aims to reduce the wait, helping teams deliver fresher reports with fewer routine metadata-refresh activities.
This guide is for teams managing SQL analytics endpoints and their pipelines. The goal is simple: give report consumers current data they can trust. A table-by-table workflow gives you a clear way to assess readiness, handle exceptions, and confirm that the upgrade delivers the intended benefits.
An endpoint reporting new metadata sync does not prove that every table upgraded successfully.
Make the upgrade count for every required table
Imagine ten tables feeding a daily sales report. Nine upgrade successfully, but Sales fails. The endpoint can still report new metadata sync.
Sales remains on legacy sync and does not synchronize automatically in this partial-upgrade scenario. The report might open normally while missing recent sales.
This is an illustrative example, not a reported incident. Table-level validation helps you catch this gap and focus remediation where it is needed. Success means the report receives the intended data, not merely that an endpoint label changes.
What changes with new metadata sync (V2)?
New metadata sync helps keep the SQL analytics endpoint aligned with lakehouse changes using key architectural improvements:
- Delta-log catalog creation. An external tables-based architecture parses Delta logs, which record table changes, to build the SQL catalog.
- Separate schema and data tracking. A decoupled architecture detects schema and data changes independently and refreshes the catalog accordingly.
- Periodic background refresh. The system checks for data updates at regular intervals.
- On-demand refresh when querying. When a read query arrives and the system detects that the data is not fresh, it triggers an on-demand data refresh.
Together, these features can improve SQL data visibility and reduce routine blanket metadata-refresh calls in pipelines. However, “near-real-time” is not a guaranteed maximum delay. Agree how quickly changes must become visible in reports and queries, then test that target after migration.
For a daily sales workflow, the opportunity is practical: once all required tables are upgraded and validated, the pipeline may no longer need a blanket metadata-refresh step after each load. The same freshness checks confirm whether that simpler workflow still delivers current data to the report.
The workspace “New metadata sync” setting applies to newly created endpoints. Enabling it does not upgrade existing endpoints.
Enable new metadata sync and understand the GA defaults
Before creating endpoints or planning an upgrade, check the workspace configuration.
- Open Workspace settings.
- Select Warehouse settings.
- Confirm New metadata sync is ON. If it is OFF, enable it for new endpoints.
See Microsoft’s workspace enablement instructions.
GA changes creation defaults, not existing endpoints
Post-GA, three distinct scenarios apply:
| Scenario | GA behavior | Your action |
|---|---|---|
| New workspace | New metadata sync is enabled by default. | Verify the setting before creating endpoints. |
| New SQL analytics endpoint in an existing workspace | New endpoints use V2 metadata sync. | Confirm the workspace setting and verify the created endpoint’s version. |
| Existing SQL analytics endpoint | Creation defaults do not migrate it. | Follow the assessment, upgrade, and validation workflow below. |
These defaults give new endpoints a useful starting point. Existing endpoints still need their own assessment: a workspace can contain endpoints on different sync versions, so check each one rather than inferring its version from the workspace setting.
Explore the six migration steps
Illustrative walkthrough, not live migration status.
Inventory the endpoint, required tables, writers, and downstream reports. Agree owners, a maintenance window, recovery procedures, and a freshness target before changing anything.
Idea 1 of 6
View the upgrade decision flow
---
config:
flowchart:
nodeSpacing: 28
rankSpacing: 24
minNodeWidth: 0
wrappingWidth: 260
curve: rounded
---
flowchart TD
S[Verify or enable workspace setting] --> A[Discover existing endpoints]
A --> B[Assess]
B --> C{Ready}
C -->|No| D[Remediate]
D --> B
C -->|Yes| E[Upgrade and track]
E --> F[Validate endpoint and tables]
F --> G[Update and test pipelines]
classDef step fill:#202b3d,stroke:#8b9bb4,color:#f2f5fc,stroke-width:1.5px
classDef decision fill:#302445,stroke:#bd9dea,color:#f0e5ff,stroke-width:2px
classDef remediation fill:#392c20,stroke:#e5b878,color:#ffdfab,stroke-width:1.5px
classDef complete fill:#163a34,stroke:#8ce2c4,color:#d8fff1,stroke-width:2px
class S,A,B,E,F step
class C decision
class D remediation
class G complete
Wait for the upgrade operation to finish before validating the endpoint and every required table. Resolve partial upgrades before updating pipelines. If freshness, report, or pipeline checks fail, investigate and repeat those checks before calling the migration complete.
1. Prepare the migration
Plan a maintenance window and identify the required tables, concurrent writers, downstream reports, and responsible owners. Agree a freshness target, observation period, and recovery approach before changing anything.
Confirm upgrade availability, current API requirements, and permissions in your target environment. For synchronization monitoring, confirm workspace Contributor or higher access and access to the SQL endpoint.
Define success before making changes: all required tables must migrate, synchronize, and meet the agreed freshness and consumer-validation checks. This gives the team a shared finish line and clear evidence for accepting the change.
Migration record checklist
Before starting, record:
- The workspace ID and SQL analytics endpoint ID.
- Expected tables, ingestion jobs, and concurrent writers.
- Downstream reports, queries, applications, and refresh activities.
- Owners for the upgrade, table remediation, pipeline changes, and acceptance.
- The maintenance window, observation period, and recovery procedures.
2. Check the current synchronization version
Open the SQL analytics endpoint and inspect Metadata sync in its item details. Legacy indicates metadata sync (V1).
Use the metadataSyncMigrationStatus API:
GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/sqlEndpoints/{sqlEndpointId}/metadataSyncMigrationStatus
Record the returned version and a UTC timestamp.
If the endpoint already reports new metadata sync, do not stop there. Check whether a previous upgrade left any required tables on legacy sync or unable to synchronize.
3. Run preflight before changing anything
The preflight assessment evaluates table readiness without modifying tables. Use it to turn uncertainty into a concrete list of tables that are ready and any remediation needed before the upgrade.
POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/sqlEndpoints/{sqlEndpointId}/preflightMetadataSyncUpgrade
Review every table result and reconcile the response against your expected inventory. A table missing from the assessment is not a successful result.
Common readiness findings include:
| Finding | Recommended approach |
|---|---|
| Multipart checkpoints | Use a supported procedure to move to single-part classic checkpoints or V2 checkpoints. |
| More than 1,000 commits since the last checkpoint | Consider creating a fresh checkpoint, then rerun the assessment. |
| Column mapping by ID | Use the managing runtime’s supported procedure to move to none or name. |
The checkpoint threshold concerns commit count, not file size. Let the assessment determine readiness rather than relying on assumptions.
Exercise particular care with column mapping. A direct table-property change might not be supported. Remediation can involve rewriting files or pausing concurrent writers, so review runtime compatibility, downstream dependencies, and recovery steps first.
For Databricks-managed tables, follow the supported column mapping removal procedure.
Always rerun preflight after remediation. A successful reassessment confirms that the work addressed the readiness findings; completing a remediation notebook alone does not establish readiness.
4. Submit the upgrade and track it to completion
Once the required tables pass readiness checks and the maintenance window begins, submit the upgrade:
POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/sqlEndpoints/{sqlEndpointId}/upgradeMetadataSync
Retain the operation reference, target identifiers, and request timestamp. Confirm the current request schema and operation-tracking requirements before automating this step.
For an asynchronous operation, follow the documented polling and retry guidance.
Do not submit another upgrade request while the first operation remains in progress. An accepted request confirms submission, not completion.
Understand partial completion
| Upgrade result | Endpoint state | What to do next |
|---|---|---|
| All expected tables upgrade | New (V2) | Validate synchronization and consumers. |
| Some tables upgrade | New (V2) | Remediate failed tables and keep the migration open. |
| No tables upgrade | Legacy (V1) | Resolve the reported errors before retrying. |
In a partial upgrade, failed tables remain on legacy synchronization and do not synchronize automatically.
After the operation finishes, resolve the reported issues and submit the same upgrade request again. Subsequent attempts upgrade only the remaining tables; tables already using new synchronization stay unchanged.
This lets you build on completed work while focusing the next attempt on the remaining tables.
If the operation state is unknown or results are missing, investigate before starting another attempt.
5. Validate tables, not just endpoint status
Table-level validation is how you turn a completed upgrade operation into confidence in the workload. An API success response or V2 endpoint label alone cannot establish migration completeness.
Use a focused validation matrix:
| Area | Acceptance check |
|---|---|
| Inventory | Every expected table appears in the reviewed results. |
| Migration | No required table remains on legacy (V1) sync or has an unexplained failure. |
| Synchronization | No required table has an unresolved blocked or non-syncing condition. |
| Freshness | Representative reads meet the agreed visibility target. |
| Schema | Expected schema changes become visible. |
| Consumers | Representative reports, queries, and applications work correctly. |
On the endpoint using new metadata sync (V2), inspect sys.dm_db_external_tables_log_status to monitor synchronization.
Useful fields include:
last_update_time_utclatest_log_versionlatest_checkpoint_versionis_blocked
Investigate tables where is_blocked equals 1. However, is_blocked = 0 alone does not prove migration completeness or acceptable freshness.
These monitoring fields do not explicitly indicate whether each table uses legacy or new sync. Use the upgrade’s per-table results to establish migration status.
See the monitoring DMV reference for definitions and access requirements.
6. Update pipelines after validation
Once the endpoint and required tables pass validation, review pipelines that explicitly refresh SQL endpoint metadata.
Remove unnecessary routine blanket refresh calls for successfully upgraded tables. Preserve unrelated activities and resolve failures affecting tables still on legacy (V1) synchronization before treating the migration as complete.
If a scenario still requires explicit refresh, target the relevant tables through the supported tables request-body parameter. Consult the metadata refresh API reference for the current schema.
Then rerun the affected pipeline end to end and repeat freshness and consumer checks. When those checks pass, you have evidence that the simpler workflow still meets its requirements.
The migration is complete when the workload passes
New metadata sync offers a path to fresher SQL visibility and fewer unnecessary metadata-refresh activities. You do not need to rely on an endpoint label to know whether it worked: the migration sequence gives you concrete evidence at each stage.
Assess readiness, resolve blockers, submit one upgrade operation at a time, validate every required table, and then simplify pipelines.
After the agreed observation period and customer acceptance, close the change with confidence: every required table has been validated, the reports meet the freshness target, and the updated pipelines work end to end.
