A Fabric SQL analytics endpoint is a read-only T-SQL query surface that exposes Delta tables in OneLake as standard SQL tables, without moving or copying data. You will reach for it when:
- Running ad-hoc T-SQL queries against lakehouse or warehouse data
- Powering Power BI reports and semantic models
- Building views, functions or stored procedures on top of Delta tables
- Joining data across workspaces using OneLake shortcuts
Every lakehouse, warehouse, SQL database and mirrored database in Microsoft Fabric gets one automatically. You never provision it separately.
Key Takeaways
A Fabric SQL analytics endpoint gives read-only T-SQL access to Delta tables in OneLake, and reliable operation depends on treating metadata sync as an active thing to monitor, not a background assumption.
| Point | Details |
|---|---|
| One endpoint per item | Lakehouses, warehouses, SQL databases and mirrored databases each get exactly one automatically. |
| Read-only by design | Run writes in Spark or the transactional SQL database item, never against the endpoint itself. |
| Monitor sync actively | Query sys.dm_db_external_tables_log_status rather than waiting for stale reports to surface issues. |
| Entra ID is mandatory | Traditional SQL logins are not a supported path; configure service principal tenant settings early. |
| Datataal for complex migrations | Hands-on scoping, migration and performance tuning support for teams beyond DIY configuration. |
Table of Contents
- What is a Fabric SQL analytics endpoint and what does it cover?
- How do you find and connect to a SQL endpoint?
- How does authentication and access control work?
- How does metadata sync keep the SQL endpoint fresh?
- What limitations and performance factors should you plan for?
- What does a reliable operational workflow look like?
- Data engineers overrate the setup and underrate the sync
- Getting hands-on help with your Fabric SQL endpoint setup
- Frequently asked questions
- Sources
What is a Fabric SQL analytics endpoint and what does it cover?
Four Fabric item types get a SQL analytics endpoint the moment they are created: lakehouses, warehouses, SQL databases, and mirrored databases. Each item gets exactly one endpoint. There is no separate provisioning step and no way to switch it off.
Behind the scenes, Fabric maps every Delta table under an item’s /Tables folder to a SQL table automatically. You get read-only access to that autogenerated schema, which means you can query it, but you cannot write to it through the endpoint.
Lakehouse and warehouse endpoints look similar on the surface, but they serve different intents.
| Endpoint type | Best suited for |
|---|---|
| Warehouse SQL analytics endpoint | Classic relational warehousing, structured reporting, teams working primarily in T-SQL |
If your pipeline lives mostly in Spark notebooks, the lakehouse endpoint gives your BI and reporting layer a T-SQL door into that same data. If your team writes T-SQL first, the warehouse endpoint fits the existing skillset far more naturally.
How do you find and connect to a SQL endpoint?
Locating the connection string takes seconds once you know where to look.
- Open your lakehouse, warehouse or SQL database item in the Fabric portal.
- Click Settings, then find the SQL connection string field (or use the Open in button for a shortcut into SSMS or Excel).
- Copy the server name. It follows a
*.fabric.microsoft.compattern, not the*.database.windows.netformat you may know from Azure SQL. - Paste it into your client of choice along with the item name as the Initial Catalog.
You can connect using standard SQL tools including:
- SQL Server Management Studio (SSMS), on a reasonably current build
- The MSSQL extension for Visual Studio Code
sqlcmd, using Entra authentication flags- ODBC, JDBC and ADO.NET drivers
- Power BI, connecting natively via DirectQuery or import mode
- dbt adapters, for teams running transformation pipelines against the endpoint
A typical sqlcmd connection looks like sqlcmd -S your-endpoint.datawarehouse.fabric.microsoft.com -d YourLakehouseName -G. The -G flag triggers Entra authentication rather than a SQL login, which is the supported authentication method.
Pro Tip: Get the Initial Catalog exactly right. External tools frequently fail to connect not because of credentials, but because the database name in the connection string does not match the lakehouse or warehouse name character for character, including case.
Fabric’s connection string format diverges from Azure SQL specifically so that endpoint traffic routes through Fabric capacity rather than a standalone Azure SQL server, which is why older Azure SQL connection habits sometimes trip people up on their first attempt.
How does authentication and access control work?
Microsoft Entra ID is the only supported identity provider for Fabric SQL endpoints. Traditional SQL logins are not part of the primary supported flow, and building automation around them will cause problems down the line.
Access control operates on two layers:
- Fabric item permissions, which is the recommended starting point. Grant Read on the workspace or item, and users inherit query access to the endpoint automatically.
- SQL-level permissions, for finer control. Use
CREATE USER ... FROM EXTERNAL PROVIDERto map an Entra identity to a database user, then apply standardGRANT,REVOKEandDENYstatements.
Service principals need one extra step: the relevant tenant setting must be enabled before they can call Fabric APIs, which matters for any unattended pipeline or CI/CD job querying the endpoint.
Security enforced at the SQL analytics endpoint only applies to queries run through that endpoint. It does not retroactively secure the underlying Delta files in OneLake, so a shortcut or Spark job with separate access can still read data the endpoint has restricted.
Pro Tip: Do not build production automation on SQL authentication as a stopgap. It is not the supported path for Fabric SQL items, and you will need to re-engineer it the moment Entra becomes mandatory in your tenant policy.
How does metadata sync keep the SQL endpoint fresh?
Fabric runs a background process that reads the Delta transaction log under /Tables and automatically discovers new tables and schema changes, keeping the SQL analytics endpoint in sync with the lakehouse. Most of the time you never think about this. Occasionally it lags, and that is when you need to know how to intervene.

A newer metadata sync (preview) option, available per workspace, brings sync latency down closer to real time for newly created endpoints. It comes with caveats, most notably a lack of support for multi-part checkpoints, so treat it as forward-looking rather than a universal upgrade.
To check sync health, query sys.dm_db_external_tables_log_status and look at:
| Field | What it tells you |
|---|---|
last_update_time_utc |
When metadata last synced successfully |
latest_log_version |
The Delta log version the endpoint has read |
is_blocked |
Whether sync is currently stalled |
latest_checkpoint_version |
The most recent Delta checkpoint processed |
When sync is stale, you have three options:
- Click Refresh in the Fabric portal on the item’s SQL analytics endpoint page.
- Call the metadata refresh REST API for a full endpoint refresh.
- Run
EXEC sys.sp_dw_refresh_ext_table 'YourTableName';for a targeted, per-table refresh.
What limitations and performance factors should you plan for?
The endpoint enforces read-only semantics at the database engine level. Any INSERT, UPDATE or DELETE attempt fails outright. Run write operations in Spark against the lakehouse, or use the transactional Fabric SQL database item instead.
A handful of other constraints catch teams out repeatedly:
- Only Delta tables sitting under
/Tablesget discovered; anything elsewhere in the lakehouse is invisible to the endpoint until you add a OneLake shortcut. - The new metadata sync preview does not yet handle multi-part checkpoints, which can silently stall discovery.
varchar(max)columns carry documented truncation caveats worth checking against your source schema before you build downstream reports.- Keep SSMS, ODBC and JDBC drivers current; older builds mishandle the
*.fabric.microsoft.comconnection format and Entra token refresh.
Pro Tip: If a query that should be fast is crawling, check whether you are scanning an entire Delta table instead of pruning by partition column. The lakehouse SQL endpoint use cases guide covers query patterns that avoid full scans.
What does a reliable operational workflow look like?
A short checklist keeps most Fabric SQL endpoint problems from ever reaching production:
- Confirm every Delta table your reports depend on sits under
/Tables, not a loose folder elsewhere. - Use OneLake shortcuts rather than data copies for cross-workspace or external datasets.
- Check whether the new metadata sync preview is enabled for the workspace, and whether that fits your table structure.
- Verify SSMS, ODBC or JDBC driver versions before onboarding a new client tool.
When tables go missing or data looks stale, work through it in order: inspect sys.dm_db_external_tables_log_status, force a refresh with sys.sp_dw_refresh_ext_table or the REST API, then confirm the source file actually lives under /Tables.
Pro Tip: Standardise workspace collation and table naming conventions before a migration starts. Retrofitting naming standards across dozens of synced tables costs far more time than agreeing them upfront.
Data engineers overrate the setup and underrate the sync
Most guidance on Fabric SQL endpoints treats connecting as the hard part. It isn’t. Copying a connection string into SSMS or Power BI takes minutes. The part that actually causes production incidents is metadata sync, and specifically the assumption that “automatic” means “instant.”
I have seen teams build alerting on report freshness before they have ever queried sys.dm_db_external_tables_log_status, which means they discover sync lag from an angry stakeholder rather than a DMV. That is backwards. Check sync status as a first-class operational metric, not a last resort when a report looks wrong.
The other overlooked issue is authentication debt. Teams prototype against the endpoint using whatever credentials are convenient, then discover during a migration that service principals need tenant settings enabled and SQL authentication was never a supported path to begin with. Fix your Entra and service principal setup before automation depends on it, not after.
If there is one priority above the rest, it’s this: treat the endpoint’s read-only, sync-dependent nature as an architectural constraint from day one, not a quirk you patch around later.

Getting hands-on help with your Fabric SQL endpoint setup
Configuring a single endpoint is straightforward. Getting metadata sync, permissions and query performance right across dozens of tables during a live migration is where most in-house teams lose weeks they did not budget for. Datataal is the alternative to trial-and-error configuration: Michael Taal brings hands-on Fabric implementation experience directly to your architecture, rather than leaving your team to reverse-engineer sync behaviour and Entra permissions from documentation alone.

Three engagement types cover most endpoint-related work: a discovery session to audit your current lakehouse and warehouse setup, a migration engagement for teams moving off Azure SQL or consolidating workspaces, and performance tuning for endpoints that have grown slow or unreliable under load. Datataal also builds operational runbooks so your team can handle day-to-day sync and refresh issues without escalating every time.
If your Fabric SQL endpoint needs professional attention, book an initial scoping call and get a clear view of what your setup needs before committing to a full project.
Frequently asked questions
Is the Fabric SQL analytics endpoint the same as a SQL database?
No. It is a read-only query surface generated automatically over Delta tables. A Fabric SQL database is a separate, fully transactional item that supports writes.
Can I write data through the SQL analytics endpoint?
No. All INSERT, UPDATE and DELETE statements fail. Perform writes in Spark against the lakehouse, or use a transactional Fabric SQL database instead.
Why doesn’t my new table show up in the SQL endpoint?
Check that the Delta table sits under /Tables, then inspect sys.dm_db_external_tables_log_status for sync status. Force a refresh with sys.sp_dw_refresh_ext_table or the metadata refresh REST API if it’s still missing.
Does Power BI connect directly to a SQL analytics endpoint?
Yes. Power BI connects natively via DirectQuery or import mode, using the same connection string you’d use in SSMS or the MSSQL extension for VS Code.
Sources
- Microsoft Fabric lakehouse SQL analytics endpoint