Prerequisites
- A Microsoft Fabric workspace with a warehouse or lakehouse SQL endpoint.
- An Azure AD (Entra ID) app registration (service principal) with access to your Fabric workspace.
- ODBC Driver 18 for SQL Server is used under the hood — no action needed on your side, it is pre-installed in Elementary Cloud.
Create an Azure AD service principal
If you don’t already have a service principal configured:- In the Azure portal, go to Azure Active Directory > App registrations > New registration.
- Give it a name (e.g.
elementary-fabric) and register it. - Note the Application (client) ID and Directory (tenant) ID.
- Go to Certificates & secrets > New client secret, create a secret, and copy the Value.
- In your Fabric workspace, add the service principal as a Viewer in the workspace settings. This is the minimum workspace-level role required for connectivity.
Grant minimal permissions
Elementary Cloud only requires read-only access to the Elementary schema and metadata access (e.g.INFORMATION_SCHEMA). We recommend granting only the minimum permissions needed.
After the service principal can connect, run the following statements in your Fabric warehouse with admin permissions:
<your_elementary_schema> with the name of your Elementary schema (usually [your dbt target schema]_elementary), and <service_principal_name> with the display name of your service principal.
Permissions and security
Elementary cloud doesn’t require read permissions to your tables and schemas, but only the following:- Read-only access to the elementary schema.
- Access to read metadata in information schema and query history, related to the tables in your dbt project.
Fill the connection form
In the Elementary platform, go to Environments in the left menu, and click on the Create Environment button. Choose a name for your environment, and then choose Fabric as your data warehouse type. Provide the following fields:- Server: The Fabric SQL connection endpoint. You can find this in the Fabric portal under your warehouse settings. It typically looks like
<identifier>.datawarehouse.fabric.microsoft.com. - Port: The port to connect to. Default is
1433. - Tenant ID: The Azure AD (Entra ID) Directory (tenant) ID.
- Client ID: The Azure AD Application (client) ID of the service principal.
- Client Secret: The client secret value you generated for the service principal.
- Database name: The name of the Fabric warehouse or lakehouse SQL endpoint.
- Elementary schema: The name of your Elementary schema. Usually
[your dbt target schema]_elementary.
Add the Elementary IP to allowlist
Elementary IP for allowlist:3.126.156.226

