|
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: 05/07/2025 |
9 | 8 | ms.service: azure-site-recovery
|
10 | 9 | ms.custom: engagement-fy23
|
11 | 10 | ---
|
@@ -102,7 +101,7 @@ Following are some of the most common issues.
|
102 | 101 |
|
103 | 102 | ### Known issue in SQL Server 2016 and 2017
|
104 | 103 |
|
105 |
| -**How to fix**: Refer to the article [Cumulative Update 16 for SQL Server 2017](https://support.microsoft.com/help/4508218/cumulative-update-16-for-sql-server-2017). |
| 104 | +**How to fix**: Cumulative Update 16 for SQL Server 2017. |
106 | 105 |
|
107 | 106 | ### You're using Azure Storage Spaces Direct Configuration
|
108 | 107 |
|
@@ -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 fix no Mobility Service heartbeat error due to expired tenant, 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 | + GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}?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