Skip to content

Commit c3ed27f

Browse files
author
Ankita Dutta
committed
AAD tenant ID
1 parent 75aff69 commit c3ed27f

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

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

Lines changed: 29 additions & 3 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: 04/29/2025
98
ms.service: azure-site-recovery
109
ms.custom: engagement-fy23
1110
---
@@ -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 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+
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)