Skip to content

Latest commit

 

History

History
113 lines (65 loc) · 6.23 KB

vnet-support-setup-configure.md

File metadata and controls

113 lines (65 loc) · 6.23 KB
title description ms.component ms.topic ms.date author ms.author ms.reviewer ms.subservice ms.custom search.audienceType
Set up Virtual Network support for Power Platform
Learn how to set up Azure Virtual Network support for Power Platform.
pa-admin
conceptual
05/28/2024
ritesp
ritesp
sericks
admin
admin-security
admin

Set up Virtual Network support for Power Platform

Azure Virtual Network support for Power Platform allows you to integrate Power Platform and Dataverse components with cloud services, or services hosted inside your private enterprise network, without exposing them to the public internet. This article helps you set up virtual network support in your Power Platform environments.

Prerequisites

  • Review your apps, flows, and plug-in code to ensure they connect over your virtual network—they shouldn't call endpoints over the public internet. If your components need to connect to public endpoints, ensure your firewall or network configuration allows such calls.

Note

To enable Virtual Network support for Power Platform, environments must be Managed Environments.

  • Prepare your tenant:

    • Have an Azure subscription with permissions to create a virtual network, subnet, and the enterprise policy resources.

    • Download PowerShell scripts for enterprise policies.

  • Install MSI using PowerShell.

  • Give permissions:

    • In the Azure portal, assign users the Azure Network Administrator role.

    • In the Power Platform admin center, assign users the Power Platform Administrator role.

The following diagram shows virtual network support in a Power Platform environment.

:::image type="content" source="media/vnet-support/vnet-support-configurations.png" alt-text="Screenshot that shows the configurations for virtual network support in a Power Platform environment." lightbox="media/vnet-support/vnet-support-configurations.png":::

Set up Virtual Network support

The following four steps help you set up your virtual network.

  1. Register Microsoft.PowerPlatform as a resource provider for the subscription that contains your virtual network.

  2. Set up the virtual network and subnets.

  3. Create the enterprise policy.

  4. Configure your Power Platform environment.

Register Microsoft.PowerPlatform as a resource provider

  1. Sign in to the Azure portal and navigate to your subscription.

  2. Select Resource providers.

  3. Search for and select Microsoft.PowerPlatform.

  4. Select Register.

More information: Register resource provider

Set up the virtual network and subnets

When you set up your virtual network, you need to delegate both a primary and a failover subnet. The failover subnet must be in a different region from the primary. For example, if your primary subnet is in WEST US, then the failover must be in EAST US.

Note

Power Platform doesn't support the CENTRAL US region. Find your virtual network location.

  1. Set up the virtual network and subnets.

  2. You need to delegate subnets that do not have any resources connected to them. Delegate the subnet to the Power Platform enterprise policies by running a subnet injection script for both your primary and failover subnets.

    [!IMPORTANT] Have at least 24 Classless Inter-Domain Routing (CIDR) addresses, which is 251 IP addresses and 5 reserved IP addresses, in the subnet you create. To delegate the same subnet to multiple environments, you might need more IP addresses in that subnet.

    To allow internet access within Power Platform containers, create an Azure NAT gateway for the delegated subnets.

  3. Review the number of IP addresses that are allocated to each subnet and consider the load of the environment. Both primary and failover subnets must have the same number of available IP addresses.

Create the enterprise policy

  1. Create subnet injection enterprise policies, using the virtual network and subnet you delegated.

  2. Grant read access to the Power Platform Administrator role.

Configure your Power Platform environment

Run the subnet injection script for your environment.

Validate the connection

  1. Go to the Power Platform admin center and select the environment where you set up virtual network support.

  2. Select History.

    You should see that the enterprise policies link with your environment is successful if the Status says Succeeded.

    :::image type="content" source="media/vnet-support/vnet-success-linked.png" alt-text="Screenshot showing your virtual network is linked to your environment." lightbox="media/vnet-support/vnet-success-linked.png":::

See also