Problem Summary
We have a modernized Azure Site Recovery appliance (Windows Server 2022) deployed on-premises with IP *XXX.XXX.X.171 **port 44368.
We don't have VCenter on ESXi Vmware, so, we follow the suggest to use like a physical machine
When attempting to replicate a VMware VM (tfs - Windows Server 2022) from on-premises to Azure, the Mobility Service Agent enters an infinite registration loop and never completes the registration process.
Error Messages Received:
Error ID539: The requested action couldn't be performed by the Replication Provider
Error ID310045: Virtual machine 'tfs' cannot be protected from on-premises to Azure
Possible Cause: The mobility agent on the machine 'tfs' is not yet registered with Proxy server
Environment Details
- Appliance: Windows Server 2022 (XXX.XXX.X.171:44368)
- Appliance Deployment: Modernized Site Recovery Appliance
- Source VM: tfs (Windows Server 2022, VMware)
- Source VM IP: XXX.XXX.X.76
- Subscription ID: xxxxx-xxxxxx-xxxxx
- Region: East US
- Appliance Status in Portal: Health = Green, all components showing success
Steps Taken So Far
1. Appliance Setup
- Deployed modernized appliance on fresh Windows Server 2022
- Appliance accessible at
https://localhost:44368
- Appliance health status: Success in Portal Azure
- Both machines (tfs-build and tfs) discovered successfully with Success status
2. Mobility Service Installation
- Copied C:\DRAppliance\DRAppliance\Agents\Microsoft-ASR_UA_9.66.7567.1_Windows_GA_20Sep2025_release.exe to machines that we want replicate (tfs and tfs-build)
- Installed Mobility Service via GUI installer on source VM
- Service
svagents is Running consistently
- Installation log shows:
Exit code returned by unified agent configurator: 0(Successful)
3. Configuration File Setup
- Generated configuration JSON from appliance portal (44368)
- File name: xxxx-xxxx-xxxx.json
- File location:
C:\ProgramData\Microsoft Azure Site Recovery\agent\
- File size: ~7KB (complete and valid JSON)
- File contains all required fields:
- SubscriptionId: valid
- BiosId:
xxxx-xxxxx
- FQDN:
tfs.xxxx.xxxx
- ClientCertificate: valid PFX certificate
- RcmProxyTransportSettings with correct appliance IP (XXX.XXX.X.171) and port (443)
- Successfull conectivity between these machines to appliance machine on ports 9443 e 443
4. Network Connectivity Verification
- Test-NetConnection to appliance port 443: Success
- Test-NetConnection to appliance port 9443: Success
- Machine has internet access: Confirmed
- No proxy required
- DNS resolution working
5. Service Troubleshooting
- Restarted
svagents service multiple times
- Cleared cache and logs multiple times
- Cleaned ProgramData and registry completely
- Reinstalled Mobility Service from scratch
- Verified file permissions
6. Appliance Verification
- Appliance shows both machines as Discovered with Success status
- Machines appear in "Physical server details" > "List of physical servers"
- Mapped credentials: ADM-VMs (valid)
- No pending approvals needed
7. Multiple Replication Attempts
- Attempted replication job multiple times
- Each attempt returns the same Error 539 and 310045
- No progress towards actual replication
Current Behavior
The Mobility Service Agent is stuck in a registration loop:
- Service starts successfully
- Attempts to register every ~15 minutes (seen in logs)
- Never completes registration - service continues trying indefinitely
- No error messages in logs preventing the registration
- Configuration file is valid and in correct location
- Appliance recognizes the machine but registration doesn't complete
Example from logs (svagents_curr_25.log):
10:50:30 - RcmClientLib::RcmClient::RegisterMachine: Registering VM security type as None
11:05:33 - RcmClientLib::RcmClient::RegisterMachine: Registering VM security type as None (15 min later)
11:20:35 - RcmClientLib::RcmClient::RegisterMachine: Registering VM security type as None (15 min later)
[Pattern repeats indefinitely]
What Works
- Appliance is healthy
- Machines are discovered
- Mobility Service installs successfully
- Network connectivity is confirmed
- Configuration file is valid
- Service is running
- Certificate is valid (expires Aug 8, 2027)
What Doesn't Work
- Mobility Service Agent will not complete registration
- Replication cannot be enabled from Portal
- Agent stuck in registration retry loop
- No clear error indicating what's blocking registration
Additional Context
Anyone, can help us to solve this? For security reasons we haven't sent the log files.
Please advise on:
- Root cause of the registration loop
- Steps to resolve or workaround
- Additional diagnostics needed from appliance or VM side
- Known issues or limitations in current modernized appliance version