Create and share a cloud connection for a semantic model
This article explains how to connect to a semantic model from a plan (preview) item.
To connect a plan to a semantic model, a workspace admin or member must create a shareable cloud connection. Other users can use this connection to access the semantic model. The following steps describe how to create and share the connection.
This connection is used to connect to your semantic models when you create a plan. The following steps must be completed by a workspace admin or member who has access to the semantic model.
In your Fabric toolbar, select the Settings icon. Select Manage connections and gateways > New.
Select Cloud as the new connection.
Enter a Connection name.
For Connection type, select Power BI Semantic Model.
Select an Authentication method
OAuth 2.0 – Select Edit credentials, and then sign in with your Microsoft account.
Service principal – Enter the Tenant ID, Service Principal ID, and Service Principal Key. For service principal-based authentication, ensure you enable Service principals can call Fabric public APIs under Developer settings in the admin portal.
If you want to connect to a Direct Lake semantic model, follow the steps below. These steps should be performed by workspace Admin or Member users.
Next to the name of the semantic model in your Fabric workspace, select ... > Settings > Gateway & Cloud Connections.
By default, the connection is set to Single Sign On. You can create and use a new connection.
Select Create a connection from the connection list.
Enter the new connection name.
Select an Authentication method
OAuth 2.0 – Select Edit credentials, and then sign in with your Microsoft account.
Service principal – Enter the Tenant ID, Service Principal ID, and Service Principal Key. For service principal-based authentication, ensure you enable Service principals can call Fabric public APIs under Developer settings in the admin portal.
Select create.
Select the newly created direct lake semantic model connection from the list and apply.
Recommended configuration for Continuous Integration and Continuous Deployment (CI/CD)
For an optimal Continuous Integration (CI) and Continuous Deployment (CD) experience, consider the following recommendations:
Create the semantic model connection using Service Principal authentication.
Grant the service principal the required access across all environments. This allows the same semantic model connection to be reused across environments during deployment, simplifying CI/CD workflows.