|
| 1 | +--- |
| 2 | +title: Move managed identities to another region - Azure AD |
| 3 | +description: Steps involved in getting a managed identity recreated in another region |
| 4 | +services: active-directory |
| 5 | +documentationcenter: |
| 6 | +author: barclayn |
| 7 | +manager: karenhoran |
| 8 | +editor: |
| 9 | + |
| 10 | +ms.service: active-directory |
| 11 | +ms.subservice: msi |
| 12 | +ms.topic: how-to |
| 13 | +ms.tgt_pltfrm: na |
| 14 | +ms.workload: identity |
| 15 | +ms.date: 04/13/2022 |
| 16 | +ms.author: barclayn |
| 17 | +ms.custom: subject-moving-resources |
| 18 | + |
| 19 | +--- |
| 20 | + |
| 21 | +# Move managed identity for Azure resources across regions |
| 22 | + |
| 23 | +There are situations in which you'd want to move your existing user-assigned managed identities from one region to another. For example, you may need to move a solution that uses user-assigned managed identities to another region. You may also want to move an existing identity to another region as part of disaster recovery planning, and testing. |
| 24 | + |
| 25 | +Moving User-assigned managed identities across Azure regions is not supported. You can however, recreate a user-assigned managed identity in the target region. |
| 26 | + |
| 27 | +## Prerequisites |
| 28 | + |
| 29 | +- Permissions to list permissions granted to existing user-assigned managed identity. |
| 30 | +- Permissions to grant a new user-assigned managed identity the required permissions. |
| 31 | +- Permissions to assign a new user-assigned identity to the Azure resources. |
| 32 | +- Permissions to edit Group membership, if your user-assigned managed identity is a member of one or more groups. |
| 33 | + |
| 34 | +## Prepare and move |
| 35 | + |
| 36 | +1. Copy user-assigned managed identity assigned permissions. You can list [Azure role assignments](../../role-based-access-control/role-assignments-list-powershell.md) but that may not be enough depending on how permissions were granted to the user-assigned managed identity. You should confirm that your solution doesn't depend on permissions granted using a service specific option. |
| 37 | +1. Create a [new user-assigned managed identity](how-manage-user-assigned-managed-identities.md?pivots=identity-mi-methods-powershell#create-a-user-assigned-managed-identity-2) at the target region. |
| 38 | +1. Grant the managed identity the same permissions as the original identity that it's replacing, including Group membership. You can review [Assign Azure roles to a managed identity](../../role-based-access-control/role-assignments-portal-managed-identity.md), and [Group membership](../../active-directory/fundamentals/active-directory-groups-view-azure-portal.md). |
| 39 | +1. Specify the new identity in the properties of the resource instance that uses the newly created user assigned managed identity. |
| 40 | + |
| 41 | +## Verify |
| 42 | + |
| 43 | +After reconfiguring your service to use your new managed identities in the target region, you need to confirm that all operations have been restored. |
| 44 | + |
| 45 | +## Clean up |
| 46 | + |
| 47 | +Once that you confirm your service is back online, you can proceed to delete any resources in the source region that you no longer use. |
| 48 | + |
| 49 | +## Next steps |
| 50 | + |
| 51 | +In this tutorial, you took the steps needed to recreate a user-assigned managed identity in a new region. |
| 52 | + |
| 53 | +- [Manage user-assigned managed identities](how-manage-user-assigned-managed-identities.md?pivots=identity-mi-methods-powershell#delete-a-user-assigned-managed-identity-2) |
0 commit comments