Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ SQL analytics endpoint and Warehouse in Microsoft Fabric
In Microsoft Fabric, a SQL analytics endpoint or Warehouse is accessible through a Tabular Data Stream, or TDS endpoint, familiar to all modern web applications that interact with a SQL Server TDS endpoint. This is referred to as the SQL connection string within Microsoft Fabric settings.
Tip
For a tutorial on connecting with common tools, see Connect to Fabric Data Warehouse.
Authentication to warehouses in Fabric
In Microsoft Fabric, two types of authenticated users are supported through the SQL connection string:
- Microsoft Entra ID user principals, or user identities
- Microsoft Entra ID service principals
For more information, see Microsoft Entra authentication as an alternative to SQL authentication in Microsoft Fabric.
The SQL connection string requires TCP port 1433 to be open. TCP 1433 is the standard SQL Server port number. The SQL connection string also respects the Warehouse or Lakehouse SQL analytics endpoint security model for data access. Data can be obtained for all objects to which a user has access.
Best practices
We recommend adding retries in your applications/ETL jobs to build resiliency. For more information, see the following docs:
- Retry pattern - Azure Architecture Center
- Working with transient errors - Azure SQL Database
- Step 4: Connect resiliently to SQL with ADO.NET - ADO.NET Provider for SQL Server
- Step 4: Connect resiliently to SQL with PHP - PHP drivers for SQL Server
- Use service tags for firewall clearance, as described in the following section.
Allow Azure service tags through firewall
Allowing Power BI service tags and SQL service tags is necessary for connectivity through the firewall. For more information, see Power BI Service Tags and Service tags.
You cannot use the Fully Qualified Domain Name (FQDN) of the TDS Endpoint alone.
Considerations and limitations
- SQL Authentication is not supported.
- Multiple Active Result Sets (MARS) is unsupported for Microsoft Fabric Warehouse. MARS is disabled by default, however if
MultipleActiveResultSets
is included in the connection string, it should be removed or set to false. - If you receive this error "Couldn't complete the operation because we reached a system limit", it's due to the system token size reaching its limit. This issue can be caused if the workspace has too many warehouses/SQL analytics endpoints, if the user is part of too many Microsoft Entra groups, or a combination of the two. We recommend having 40 or fewer warehouses and SQL analytics endpoint per workspace to prevent this error. If the issue persists, contact support.
- If you receive error code 24804 with the message "Couldn't complete the operation due to a system update. Close out this connection, sign in again, and retry the operation" or error code 6005 with the message "SHUTDOWN is in progress. Execution fail against sql server. Please contact SQL Server team if you need further support.", it's due to temporary connection loss, likely because of a system deployment or reconfiguration. To resolve this issue, sign in again and retry. To learn how to build resiliency and retries in your application, see Best Practices.
- Linked server connections from SQL Server are not supported.