Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 4.1 KB

enable-managed-identity.md

File metadata and controls

73 lines (42 loc) · 4.1 KB
title description services ms.date ms.topic ms.subservice ms.custom
Quickstart - Enable managed identities for your Automation account using the Azure portal
This quickstart helps you enable managed identities for your Automation account using the Azure portal
automation
09/30/2023
quickstart
process-automation
mode-ui

Quickstart: Enable managed identities for your Automation account using the Azure portal

This Quickstart shows you how to enable managed identities for an Azure Automation account. For more information on how managed identities work with Azure Automation, see Managed identities.

Prerequisites

Enable system-assigned managed identity

  1. Sign in to the Azure portal and navigate to your Automation account.

  2. Under Account Settings, select Identity (Preview).

    :::image type="content" source="media/enable-managed-identity/managed-identity-portal.png" alt-text="Navigating to Identity in portal.":::

  3. Set the system-assigned Status option to On and then press Save. When you're prompted to confirm, select Yes.

    Your Automation account can now use the system-assigned identity, that is registered with Microsoft Entra ID and is represented by an object ID.

    :::image type="content" source="media/enable-managed-identity/system-assigned-object-id.png" alt-text="Managed identity object ID.":::

Add user-assigned managed identity

This section continues from where the last section ended.

  1. Select the User assigned tab, and then select + Add or Add user assigned managed identity to open the Add user assigned managed i... page.

    :::image type="content" source="media/enable-managed-identity/user-assigned-portal.png" alt-text="User-assigned tab in portal.":::

  2. From the Subscription drop-down list, select the subscription for your user-assigned managed identity.

    :::image type="content" source="media/enable-managed-identity/add-user-assigned.png" alt-text="Add user-assigned page in portal.":::

  3. Under User assigned managed identities, select your existing user-assigned managed identity and then select Add. You'll then be returned to the User assigned tab.

    :::image type="content" source="media/enable-managed-identity/added-user-identity-portal.png" alt-text="Added user-assigned in portal.":::

Clean up resources

If you no longer need the user-assigned managed identity attached to your Automation account, perform the following steps:

  1. From the User assigned tab, select your user-assigned managed identity.

  2. From the top menu, select Remove, and then select Yes when prompted for confirmation.

If you no longer need the system-assigned managed identity enabled for your Automation account, perform the following steps:

  1. From the System assigned tab, under Status, select Off.

  2. From the top menu, select Save, and then select Yes when prompted for confirmation.

Next steps

In this Quickstart, you enabled managed identities for an Azure Automation account. To use your Automation account with managed identities to execute a runbook, see.

[!div class="nextstepaction"] Tutorial: Create Automation PowerShell runbook using managed identity