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
# Move an Azure Automanage Configuration Profile to a different region
13
-
This article describes how to migrate an Automanage Configuration Profile to a different region. You might want to move your Configuration Profiles to another region for a number of reasons. For example, to take advantage of a new Azure region, to meet internal policy and governance requirements, or in response to capacity planning requirements. You may want to deploy Azure Automanage to some VMs that are in a new region, and may want to do so with a Configuration Profile local to that region..
13
+
This article describes how to migrate an Automanage Configuration Profile to a different region. You might want to move your Configuration Profiles to another region for many reasons. For example, to take advantage of a new Azure region, to meet internal policy and governance requirements, or in response to capacity planning requirements. You may want to deploy Azure Automanage to some VMs that are in a new region. Some regions may require that you use Automanage Configuration Profiles that are local to that region..
14
14
15
15
## Prerequisites
16
16
* Ensure that your target region is [supported by Automanage](./automanage-virtual-machines.md#prerequisites).
17
17
* Ensure that your Log Analytics workspace region, Automation account region, and your target region are all regions supported by the region mappings [here](../automation/how-to/region-mappings.md).
18
18
19
19
## Download your desired Automanage Configuration Profile
20
20
21
-
This can be done by using PowerShell. First, perform a `GET` using `Invoke-RestMethod` against the Automanage Resource Provider, substituting the values for your subscription.
21
+
We'll begin by downloading our previous Configuration Profile using PowerShell. First, perform a `GET` using `Invoke-RestMethod` against the Automanage Resource Provider, substituting the values for your subscription.
This will result in a list of your Configuration Profiles created in this subscription, as seen below, edited for brevity.
35
+
Here are the results, edited for brevity.
36
36
37
37
```json
38
38
{
@@ -63,7 +63,7 @@ This will result in a list of your Configuration Profiles created in this subscr
63
63
}
64
64
```
65
65
66
-
The next step is to do another `GET`, this time to retrieve the specific profile we would like to create in a new region. For this example, we will retrieve 'testProfile1'. We will perform a `GET` against the `id` value for the desired profile.
66
+
The next step is to do another `GET`, this time to retrieve the specific profile we would like to create in a new region. For this example, we'll retrieve 'testProfile1'. We'll perform a `GET` against the `id` value for the desired profile.
Creating the profile in a new location is as simple as changing the `Location` property to our desired Azure Region.
78
78
79
-
We also will need to create a new name for this profile. Let's change this to profileUk. This should be done for the `Name` property within the profile, and also in the URL. We can use the `-replace` format operator to make this very simple.
79
+
We also will need to create a new name for this profile. Let's change the name of the Configuration Profile `profileUk`. We should update the `Name` property within the profile, and also in the URL. We can use the `-replace` format operator to make this simple.
80
80
81
81
```powershell
82
82
$profile.Location = "westeurope"
@@ -99,7 +99,7 @@ $profile = Invoke-RestMethod `
99
99
## Enable Automanage on your VMs
100
100
For details on how to move your VMs, see this [article](../resource-mover/tutorial-move-region-virtual-machines.md).
101
101
102
-
Once you have moved your pofile to a new region, you may use it as a custom profile for any VM. Details are available [here](./automanage-virtual-machines.md#enabling-automanage-for-vms-in-azure-portal).
102
+
Once you've moved your profile to a new region, you may use it as a custom profile for any VM. Details are available [here](./automanage-virtual-machines.md#enabling-automanage-for-vms-in-azure-portal).
103
103
104
104
## Next steps
105
105
*[Learn more about Azure Automanage](./automanage-virtual-machines.md)
0 commit comments