You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub/virtual-network-support.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,17 +73,23 @@ Private endpoints supported in IoT Hub's created in the following regions:
73
73
74
74
To set up a private endpoint, follow these steps:
75
75
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:
77
77
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).
79
85
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.
81
87
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.
83
89
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.
85
91
86
-
6. Click **Review + create** to create your private endpoint resource.
92
+
7. Click **Review + create** to create your private endpoint resource.
0 commit comments