Proposed Pull Request Change

title titleSuffix description ms.author author ms.service ms.topic ms.date ms.subservice ms.custom
Manage public network access for DPS Azure IoT Hub Device Provisioning Service Documentation on how to disable and enable public network access for Azure IoT Device Provisioning Service (DPS) cwatson cwatson-cat azure-iot-hub how-to 08/12/2025 azure-iot-hub-dps sfi-image-nochange
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: Manage public network access for DPS titleSuffix: Azure IoT Hub Device Provisioning Service description: Documentation on how to disable and enable public network access for Azure IoT Device Provisioning Service (DPS) ms.author: cwatson author: cwatson-cat ms.service: azure-iot-hub ms.topic: how-to ms.date: 08/12/2025 ms.subservice: azure-iot-hub-dps ms.custom: sfi-image-nochange --- # Manage public network access for your IoT Device Provisioning Service To restrict access to [a private endpoint for DPS in your virtual network](virtual-network-support.md), 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](https://portal.azure.com). 2. From either the portal menu or the portal page, select **All resources**. 3. Select your Device Provisioning Service instance. 4. From the service menu, under **Settings**, select **Networking**. 5. From the working pane, under **Public network access**, select **Disabled** 6. Select **Save**. :::image type="content" source="media/iot-dps-public-network-access/disable-public-access.png" alt-text="Screenshot that shows how to disable public network access for an IoT DPS instance in the Azure portal." ::: 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: - The DPS instance is accessible only through [its virtual network private endpoint using Azure Private Link](virtual-network-support.md). - You can no longer use the Azure portal to manage enrollments for the DPS instance. Instead you can manage enrollments using the Azure CLI, PowerShell, or service APIs from machines inside the virtual networks configured on the DPS instance. To learn more, see [Private endpoint limitations](virtual-network-support.md#private-endpoint-limitations). ## DPS endpoint, IP address, and ports after disabling public network access DPS is a multitenant 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 discoverability isn't a cause for concern as Microsoft integrates multiple layers of security to ensure complete isolation between tenants. To learn more, see [Isolation in the Azure Public Cloud](../security/fundamentals/isolation-choices.md#tenant-level-isolation). ## IP Filter If public network access is disabled, all [IP filter](../iot-dps/iot-dps-ip-filtering.md) rules are ignored. This behavior occurs because all IPs from the public internet are blocked. To use IP filtering, select the **Selected IP ranges** option. ### Turn on all network ranges To turn on all network ranges: 1. Sign in to the [Azure portal](https://portal.azure.com). 2. From either the portal menu or the portal page, select **All resources**. 3. Select your Device Provisioning Service instance. 4. From the service menu, under **Settings**, select **Networking**. 5. From the working pane, under **Public network access**, select **All networks** 6. Select **Save**.
Success! Branch created successfully. Create Pull Request on GitHub
Error: