Skip to content

Commit 1aea002

Browse files
committed
Added provider re-registration step.
1 parent 457c8c9 commit 1aea002

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

articles/iot-hub/virtual-network-support.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,23 @@ Private endpoints supported in IoT Hub's created in the following regions:
7373

7474
To set up a private endpoint, follow these steps:
7575

76-
1. Navigate to the **Private endpoint connections** tab in your IoT Hub portal (this tab is only available for in IoT Hubs in the [supported regions](#regional-availability-private-endpoints)), and click the **+** sign to add a new private endpoint.
76+
1. Run the following Azure CLI command to re-register Azure IoT Hub provider with your subscription:
7777

78-
2. Provide the subscription, resource group, name and region to create the new private endpoint in (ideally, private endpoint should be created in the same region as your hub; see [regional availability section](#regional-availability-private-endpoints) for more details).
78+
```azurecli-interactive
79+
az provider register --namespace Microsoft.Devices --wait --subscription <subscription-name>
80+
```
81+
82+
2. Navigate to the **Private endpoint connections** tab in your IoT Hub portal (this tab is only available for in IoT Hubs in the [supported regions](#regional-availability-private-endpoints)), and click the **+** sign to add a new private endpoint.
83+
84+
3. Provide the subscription, resource group, name and region to create the new private endpoint in (ideally, private endpoint should be created in the same region as your hub; see [regional availability section](#regional-availability-private-endpoints) for more details).
7985

80-
3. Click **Next: Resource**, and provide the subscription for your IoT Hub resource, and select **"Microsoft.Devices/IotHubs"** as resource type, your IoT Hub name as **resource**, and **iotHub** as target sub-resource.
86+
4. Click **Next: Resource**, and provide the subscription for your IoT Hub resource, and select **"Microsoft.Devices/IotHubs"** as resource type, your IoT Hub name as **resource**, and **iotHub** as target sub-resource.
8187

82-
4. Click **Next: Configuration** and provide your virtual network and subnet to create the private endpoint in. Select the option to integrate with Azure private DNS zone, if desired.
88+
5. Click **Next: Configuration** and provide your virtual network and subnet to create the private endpoint in. Select the option to integrate with Azure private DNS zone, if desired.
8389

84-
5. Click **Next: Tags**, and optionally provide any tags for your resource.
90+
6. Click **Next: Tags**, and optionally provide any tags for your resource.
8591

86-
6. Click **Review + create** to create your private endpoint resource.
92+
7. Click **Review + create** to create your private endpoint resource.
8793

8894

8995
### Pricing (private endpoints)

0 commit comments

Comments
 (0)