Create an allow list using data connection rules

When you enable outbound access protection for a workspace, it blocks all outbound connections by default. For supported workloads, including Power BI, you can permit access to approved destinations by configuring data connection rules. These rules let you allow or block specific cloud connections or data gateways:

  • Cloud connections: You can configure different types of cloud connections, such as lakehouses, databases, and SaaS services. Some connection types can only be fully allowed or fully blocked. Others let you block the connection type by default, but specify exceptions. For example, you can block the Lakehouse connection type for all workspaces except workspaces you explicitly allow.

  • Data gateways: Data gateways let you securely connect to on-premises or virtual network resources. Only data gateways that were previously created can be allowed or blocked using data connection rules. One way to create a data gateway is by using the Manage connections and gateways feature; see Add or remove a gateway data source or Manage Data Factory data sources.

This article describes how to use data connection rules in the workspace settings to allow cloud connections and data gateways.

Note

Data connection rules are available for supported workloads, including Data Factory and Power BI. For Data Engineering or OneLake, use managed private endpoints to allow outbound access.

How to create an allow list using data connection rules

When you enable the Block outbound public access setting in the outbound access protection settings, all outbound connections are blocked by default. To allow cloud or gateway connections, configure data connection rules. You can use either the Fabric portal or the REST API.

  1. Sign in to Fabric as a workspace admin.

  2. Go to Workspace > Workspace settings > Outbound networking.

  3. Make sure the Block outbound public access toggle is enabled so that the Data connection rules (preview) section appears.

    Screenshot of data connection rules configuration listing allowed and blocked connection types.

To enable a cloud connection

  1. Select Add new cloud connection rule.

  2. On the New rule page, under Connection kind, start typing the kind of connection you want to allow, and then select it in the list. Then follow one of these steps based on whether exceptions can be configured for the connection type:

    • If no exceptions can be configured for the connection type, select Add, and then set the toggle to Allowed. Select Save.

    • If the connection type allows you to configure exceptions (for example, Lakehouse), use the dropdown list to select the exception (for example, a workspace) you want to allow. Then select Add. Leave the toggle for the connection type set to Blocked, and select Save. This configuration blocks the connection type overall, but allows the exception you selected.

      For an interactive Power BI report that uses a semantic model in another workspace, configure this rule in the report workspace. Select Power BI Semantic Model as the connection kind, and then select the semantic model workspace under Workspace exception. You configure one exception for each approved destination workspace, not for each report. For paginated reports, use the Analysis Services connector instead; see Workspace outbound access protection for paginated reports.

      Note

      Exceptions can only be added one at a time. To add more exceptions (even to the same connection type), start again from step 1.

  3. Select Save.

  4. Repeat for each cloud connection type or exception you want to allow.

To enable a data gateway

  1. Under Gateway connection policies, expand Virtual network and On-premises data gateways.

  2. Expand the list under Add allowed gateways. This list shows all available data gateways.

  3. Find the gateway you want to enable in the list and select it, and then select Add. Repeat for each data gateway you want to allow.

  4. Select Save.