Skip to content

Commit 5beff74

Browse files
committed
fix indentation
1 parent 8d9f748 commit 5beff74

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

articles/azure-resource-manager/management/move-resource-group-and-subscription.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ There are some important steps to do before moving a resource. By verifying thes
4949
(Get-AzSubscription -SubscriptionName <your-source-subscription>).TenantId
5050
(Get-AzSubscription -SubscriptionName <your-destination-subscription>).TenantId
5151
```
52-
52+
5353
---
54-
54+
5555
If the tenant IDs for the source and destination subscriptions aren't the same, use the following methods to reconcile the tenant IDs:
56-
56+
5757
* [Transfer ownership of an Azure subscription to another account](../../cost-management-billing/manage/billing-subscription-transfer.md)
5858
* [How to associate or add an Azure subscription to Microsoft Entra ID](../../active-directory/fundamentals/active-directory-how-subscriptions-associated-directory.md)
5959

@@ -78,33 +78,33 @@ There are some important steps to do before moving a resource. By verifying thes
7878
# [CLI](#tab/CLI)
7979

8080
To get the registration status:
81-
81+
8282
```azurecli-interactive
8383
az account set -s <destination-subscription-name-or-id>
8484
az provider list --query "[].{Provider:namespace, Status:registrationState}" --out table
8585
```
86-
86+
8787
To register a resource provider:
88-
88+
8989
```azurecli-interactive
9090
az provider register --namespace Microsoft.Batch
9191
```
9292

9393
# [PowerShell](#tab/PowerShell)
9494

9595
To get the registration status:
96-
96+
9797
```azurepowershell-interactive
9898
Set-AzContext -Subscription <destination-subscription-name-or-id>
9999
Get-AzResourceProvider -ListAvailable | Select-Object ProviderNamespace, RegistrationState
100100
```
101-
101+
102102
To register a resource provider:
103-
103+
104104
```azurepowershell-interactive
105105
Register-AzResourceProvider -ProviderNamespace Microsoft.Batch
106106
```
107-
107+
108108
---
109109

110110
1. Before moving the resources, check the subscription quotas for the subscription you're moving the resources to. If moving the resources means the subscription exceeds its limits, you need to review whether you can request an increase in the quota. For a list of limits and how to request an increase, see [Azure subscription and service limits, quotas, and constraints](../../azure-resource-manager/management/azure-subscription-service-limits.md).
@@ -121,7 +121,7 @@ There are some important steps to do before moving a resource. By verifying thes
121121
1. **For a move across subscriptions, the resource and its dependent resources must be located in the same resource group and they must be moved together.** For example, a VM with managed disks would require the VM and the managed disks to be moved together, along with other dependent resources.
122122

123123
If you're moving a resource to a new subscription, check to see whether the resource has any dependent resources, and whether they're located in the same resource group. If the resources aren't in the same resource group, check to see whether the resources can be combined into the same resource group. If so, bring all these resources into the same resource group by using a move operation across resource groups.
124-
124+
125125
For more information, see [Scenario for move across subscriptions](#scenario-for-move-across-subscriptions).
126126

127127
## Scenario for move across subscriptions
@@ -248,7 +248,7 @@ Invoke-AzResourceAction -Action validateMoveResources `
248248
}
249249
```
250250

251-
If the validation is successful, no output is displayed. However, if the validation fails, an error message will appear, explaining the reasons why the resources cannot be moved.
251+
If the validation is successful, no output is displayed. However, if the validation fails, an error message appears, explaining the reasons why the resources can't be moved.
252252

253253
#### Move
254254

@@ -306,7 +306,7 @@ validate_move_resources_result = resource_client.resources.begin_validate_move_r
306306
print("Validate move resources result: {}".format(validate_move_resources_result))
307307
```
308308

309-
If the validation is successful, no output is displayed. However, if the validation fails, an error message will appear, explaining the reasons why the resources cannot be moved.
309+
If the validation is successful, no output is displayed. However, if the validation fails, an error message appears, explaining the reasons why the resources can't be moved.
310310

311311
#### Move
312312

0 commit comments

Comments
 (0)