Fabric Analytics Troubleshooting¶
When Test connection or an operation fails on a Fabric Analytics datastore, the error message points to the layer that failed: the service principal credentials, its access to the workspace, or the SQL analytics endpoint.
Problems every connector shares
A server that cannot be reached, a red status dot, a credential changed at the source, Secrets Management errors, an empty schema list, missing tables, and a blocked deletion are covered on Source Datastore Troubleshooting. This page covers the errors specific to Fabric Analytics.
Common Errors¶
| Error | Likely Cause | Fix |
|---|---|---|
Login failed for user |
The Service Principal credentials (Client ID, Client Secret, Tenant ID) are incorrect or the Client Secret has expired | Verify the credentials in the Azure Portal app registration and regenerate the Client Secret if needed |
Cannot open database requested by the login |
The Service Principal does not have access to the Fabric workspace | Add the Service Principal as a Contributor (or higher) to the target Fabric workspace |
Service principals are not allowed |
The Fabric tenant setting "Service principals can call Fabric public APIs" is disabled | Enable the setting in the Fabric Admin Portal under Tenant settings |
The SELECT permission was denied on object |
The Service Principal lacks SELECT on one or more tables |
Verify the workspace role grants sufficient read access to the Lakehouse/Warehouse |
SQL analytics endpoint is not available |
The SQL analytics endpoint is not enabled for the Lakehouse/Warehouse | Ensure the SQL analytics endpoint is enabled in the Fabric workspace settings |
Detailed Notes¶
Authentication Errors¶
The error Login failed for user indicates that the Service Principal credentials are incorrect or expired.
Common causes:
- Expired Client Secret: the Client Secret has a configurable expiration date. It may have expired since the connection was created.
- Wrong Tenant ID: the Tenant ID does not match the Microsoft Entra ID tenant where the app is registered.
- Wrong Client ID: the Client ID (Application ID) does not match the app registration.
Note
Service Principal Client Secrets have an expiration date configured during creation. Set a reminder to rotate the secret before it expires to avoid connection failures.
Permission Errors¶
The error The SELECT permission was denied on object or Service principals are not allowed means the Service Principal authenticated successfully but lacks the necessary access.
Common causes:
- Workspace role insufficient: the Service Principal needs at least the Contributor role on the Fabric workspace.
- Tenant setting disabled: the "Service principals can call Fabric public APIs" setting is not enabled in the Fabric Admin Portal.
- Security group restriction: the tenant setting is enabled but restricted to a specific security group that does not include the Service Principal.
Connection Errors¶
The error SQL analytics endpoint is not available or Cannot open database requested by the login indicates a configuration issue.
Common causes:
- SQL endpoint not enabled: the SQL analytics endpoint is not enabled for the Lakehouse or Warehouse.
- Wrong endpoint: the SQL analytics endpoint URL does not match the target Lakehouse/Warehouse.
- Fabric capacity paused: the Fabric capacity is paused, making the SQL endpoint unavailable.
Tip
Start by confirming Service Principal credentials are valid (authentication errors), then verify workspace roles and tenant settings (permission errors), and finally check the SQL analytics endpoint availability (connection errors).