Skip to content

Commit fceb92f

Browse files
Resovled markdown issues
1 parent b772473 commit fceb92f

1 file changed

Lines changed: 14 additions & 11 deletions

File tree

articles/migrate/how-to-automate-vmware-to-azure-migration-rest-api.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ Use this article if you want to:
2222

2323
Before you begin, make sure you have the following:
2424

25-
- An Azure subscription with Azure Migrate Owner role to create and manage Azure Migrate resources. [Azure Migrate built-in roles](/azure/migrate/prepare-azure-accounts)
26-
[!IMPORTANT]
27-
Insufficient permissions can cause API calls to fail with authorization or resource access errors.
25+
- An Azure subscription with Azure Migrate Owner role to create and manage Azure Migrate resources. [Azure Migrate built-in roles](/azure/migrate/prepare-azure-accounts).
26+
27+
> [!IMPORTANT]
28+
> Insufficient permissions can cause API calls to fail with authorization or resource access errors.
29+
2830
- A Migrate project configured for agent-based migration.
2931
- A replication appliance deployed and registered with the vault.
3032
- VMware or physical virtual machines discovered by the appliance.
@@ -92,9 +94,9 @@ The site information is present in `properties.customDetails.vmwareSiteId` and `
9294
"physicalSiteId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/ServerSites/{siteName}",
9395
"processServers": [
9496
{
95-
"id": "12345678-1234-1234-1234-123456789012",
97+
"id": "00001111-aaaa-2222-bbbb-3333cccc4444",
9698
"name": "yourappliancename",
97-
"biosId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
99+
"biosId": "00001111-aaaa-2222-bbbb-3333cccc4444",
98100
"fqdn": "yourappliancename.domain.com",
99101
"health": "Normal",
100102
"healthErrors": []
@@ -137,7 +139,7 @@ The Azure Site Recovery REST API–based migration workflow includes the followi
137139

138140
## Authentication
139141

140-
All REST API calls require authentication with Azure Active Directory (Azure AD). To authenticate, obtain a bearer access token using one of the supported methods.
142+
All REST API calls require authentication with Microsoft Entra ID. To authenticate, obtain a bearer access token using one of the supported methods.
141143

142144
- Azure CLI: `az account get-access-token`
143145
- Azure PowerShell: `Get-AzAccessToken`
@@ -151,8 +153,8 @@ Authorization: Bearer <access-token>
151153

152154
Alternatively you can use armclient or Invoke-AzRestMethod in PowerShell.
153155

154-
[!NOTE]
155-
All examples in this article use the **2025‑08‑01** API version for the Azure Site Recovery resource provider. Ensure that the same API version is specified for all REST requests.
156+
> [!NOTE]
157+
> All examples in this article use the **2025‑08‑01** API version for the Azure Site Recovery resource provider. Ensure that the same API version is specified for all REST requests.
156158
157159
## Step 1: Enable replication
158160

@@ -368,8 +370,9 @@ PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups
368370

369371
## Step 3: Test migration
370372

371-
[!IMPORTANT]
372-
Always perform a test migration (test failover) before initiating an actual migration to validate configuration and minimize production impact.
373+
> [!IMPORTANT]
374+
> Always perform a test migration (test failover) before initiating an actual migration to validate configuration and minimize production impact.
375+
373376
Use the [Test Failover](/rest/api/site-recovery/replication-protected-items/test-failover) API.
374377

375378
### Request
@@ -584,7 +587,7 @@ $enableResponse = Invoke-RestMethod -Uri $enableUri -Method Put -Headers $header
584587
- **Retain recovery points until validation**: Keep recovery points until the migration is validated in the production environment.
585588

586589
## Next steps
587-
Write a script to automate the above steps. If you face any issues, please reach out to Microsoft support for same.
590+
Write a script to automate the above step. If you face any issues, please reach out to Microsoft support for same.
588591

589592
## Related content
590593

0 commit comments

Comments
 (0)