Skip to content

Commit d7acab6

Browse files
authored
Cannot disable system-assigned managed identity while in use
1 parent 79fcdca commit d7acab6

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

articles/iot-hub/iot-hub-managed-identity.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@ In IoT Hub, managed identities can be used for egress connectivity from IoT Hub
2424

2525
## System-assigned managed identity
2626

27-
### Add and remove a system-assigned managed identity in Azure portal
27+
### Enable or disable system-assigned managed identity in Azure portal
2828

29-
1. Sign in to the Azure portal and navigate to your desired IoT hub.
30-
2. Navigate to **Identity** in your IoT Hub portal
31-
3. Under **System-assigned** tab, select **On** and click **Save**.
32-
4. To remove system-assigned managed identity from an IoT hub, select **Off** and click **Save**.
29+
1. Sign in to the Azure portal and navigate to your IoT hub.
30+
2. Select **Identity** from the **Security settings** section of the navigation menu.
31+
3. Select the **System-assigned** tab.
32+
4. Set the system-assigned managed identity **Status** to **On** or **Off**, then select **Save**.
3333

34-
:::image type="content" source="./media/iot-hub-managed-identity/system-assigned.png" alt-text="Screenshot showing where to turn on system-assigned managed identity for an I O T hub.":::
34+
>[!NOTE]
35+
>You can't turn off system-assigned managed identity while it's in use. Make sure that no custom endpoints are using system-assigned managed identity authentication before disabling the feature.
36+
37+
:::image type="content" source="./media/iot-hub-managed-identity/system-assigned.png" alt-text="Screenshot showing where to turn on system-assigned managed identity for an IoT hub.":::
3538

3639
### Enable system-assigned managed identity at hub creation time using ARM template
3740

0 commit comments

Comments
 (0)