|
1 | 1 | ---
|
2 | 2 | title: Troubleshoot replication of Azure VMs with Azure Site Recovery
|
3 |
| -description: Troubleshoot replication in Azure VM disaster recovery with Azure Site Recovery |
| 3 | +description: Troubleshoot replication in Azure VM disaster recovery with Azure Site Recovery. |
4 | 4 | author: ankitaduttaMSFT
|
5 | 5 | ms.author: ankitadutta
|
6 |
| -manager: rochakm |
7 | 6 | ms.topic: troubleshooting
|
8 |
| -ms.date: 09/04/2024 |
| 7 | +ms.date: 04/29/2025 |
9 | 8 | ms.service: azure-site-recovery
|
10 | 9 | ms.custom: engagement-fy23
|
11 | 10 | ---
|
@@ -164,6 +163,33 @@ Restart the following services:
|
164 | 163 | - Azure Site Recovery VSS Provider.
|
165 | 164 | - VDS service.
|
166 | 165 |
|
| 166 | +#### Update TenantId and ClientId manually in source machine |
| 167 | + |
| 168 | +**How to fix**: To update the application TenantId and ClientId manually, follow these steps: |
| 169 | + |
| 170 | +1. Execute the **GET Protected item** API and retrieve the values for `mobilityAgentTenantIdToUpdate` and `mobilityAgentClientIdToUpdate` from the output. |
| 171 | + |
| 172 | + |
| 173 | + ```powershell |
| 174 | + https:/management.azure.com/Subscriptions/41b6b0c9-3e3a-4701-811b-92135df8f9e3/resourceGroups/A2A-Tenant-Mig-RG/providers/Microsoft.RecoveryServices/vaults/A2A-Tenant-Mig-Vault1/replicationFabrics/asr-a2a-default-centraluseuap/replicationProtectionContainers/asr-a2a-default-centraluseuap-container/replicationProtectedItems/UYmJamTxe-lo-LELm6HMSytVMe6QqgIA53RyRwOjKrI?api-version=2025-01-01 |
| 175 | + ``` |
| 176 | +1. Open the RCMInfo.conf file on the source machine. The location of the file is as follows: |
| 177 | +
|
| 178 | + - Windows: `C:\ProgramData\Microsoft Azure Site Recovery\Config\RCMInfo.conf` |
| 179 | + - Linux: `/usr/local/InMage/config/RCMInfo.conf` |
| 180 | +1. Update the `AADTenantId`, `AADClientId`, and tenantid of `AADAudienceUri` with the new tenant details fetched from step 1 and save the file by using the following format: |
| 181 | +
|
| 182 | + ``` |
| 183 | + AADTenantId=<mobilityAgentTenantIdToUpdate> |
| 184 | + AADClientId=<mobilityAgentClientIdToUpdate> |
| 185 | + AADAudienceUri=api://<mobilityAgentTenantIdToUpdate>/RecoveryServiceContainer/eastus2euap/1394977864085472368/3134366 |
| 186 | + ``` |
| 187 | +1. Restart the following services: |
| 188 | + - **Windows**: "InMage Scout VX Agent - Sentinel/Outpost", "InMage Scout Application Service" |
| 189 | + - **Linux**: vxagent, appservice |
| 190 | +
|
| 191 | +
|
| 192 | +
|
167 | 193 | ## Next steps
|
168 | 194 |
|
169 | 195 | [Replicate Azure VMs to another Azure region](azure-to-azure-how-to-enable-replication.md).
|
0 commit comments