Manage public network access for your IoT Device Provisioning Service

To restrict access to a private endpoint for DPS in your VNet, disable public network access. To do so, use the Azure portal or the publicNetworkAccess API. You can also allow public access by using the portal or the publicNetworkAccess API.

Turn off public network access using the Azure portal

To turn off public network access:

  1. Sign in to the Azure portal.

  2. On the left-hand menu or on the portal page, select All resources.

  3. Select your Device Provisioning Service.

  4. In the Settings menu on the left-side, select Networking.

  5. Under Public network access, select Disabled

  6. Select Save.

    Image showing Azure portal where to turn off public network access

To turn on public network access:

  1. Select All networks.
  2. Select Save.

Disable public network access limitations

Note the following limitations when public network access is disabled:

DPS endpoint, IP address, and ports after disabling public network access

DPS is a multi-tenant Platform-as-a-Service (PaaS), where different customers share the same pool of compute, networking, and storage hardware resources. DPS's hostnames map to a public endpoint with a publicly routable IP address over the internet. Different customers share this DPS public endpoint, and IoT devices in wide-area networks and on-premises networks can all access it.

Disabling public network access is enforced on a specific DPS resource, ensuring isolation. To keep the service active for other customer resources using the public path, its public endpoint remains resolvable, IP addresses discoverable, and ports remain open. This is not a cause for concern as Azure integrates multiple layers of security to ensure complete isolation between tenants. To learn more, see Isolation in the Azure Public Cloud.

IP Filter

If public network access is disabled, all IP Filter rules are ignored. This is because all IPs from the public internet are blocked. To use IP Filter, use the Selected IP ranges option.

Turn on all network ranges

To turn on all network ranges:

  1. Go to the Azure portal.
  2. On the left-hand menu or on the portal page, select All resources.
  3. Select your Device Provisioning Service.
  4. In the Settings menu on the left-side, select Networking.
  5. Under Public network access, select All networks
  6. Select Save.