Skip to content

Commit 44e6952

Browse files
Merge pull request #299012 from ankitaduttaMSFT/TS2904
AAD tenant ID
2 parents eb83d21 + b1143cb commit 44e6952

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

articles/site-recovery/azure-to-azure-troubleshoot-replication.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
22
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.
44
author: ankitaduttaMSFT
55
ms.author: ankitadutta
6-
manager: rochakm
76
ms.topic: troubleshooting
8-
ms.date: 09/04/2024
7+
ms.date: 05/07/2025
98
ms.service: azure-site-recovery
109
ms.custom: engagement-fy23
1110
---
@@ -102,7 +101,7 @@ Following are some of the most common issues.
102101

103102
### Known issue in SQL Server 2016 and 2017
104103

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.
106105

107106
### You're using Azure Storage Spaces Direct Configuration
108107

@@ -164,6 +163,33 @@ Restart the following services:
164163
- Azure Site Recovery VSS Provider.
165164
- VDS service.
166165

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+
167193
## Next steps
168194
169195
[Replicate Azure VMs to another Azure region](azure-to-azure-how-to-enable-replication.md).

0 commit comments

Comments
 (0)