How to automate mobility agent deployment for multiple server using Modernized Method

Shantanand M Umachagi 45 Reputation points


Please provide the steps for Mobility agent Installation on multiple computer using SCCM package deployment on multiple servers Using Modernized Method.


We do not see any folder with respective.

%pgramdata%\ASR\ Folder with Passpharse Key generation and

2> PUSH-INSTALL -If you supply the Windows credentials in ASR configuration server also still we are not able to view these credentials in ASR replication for push Agent install. (Refer the attachment)


Please treat this urgent.

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
522 questions
0 comments No comments
{count} votes

Accepted answer
  1. Prrudram-MSFT 18,786 Reputation points

    Hello @Shantanand M Umachagi

    With the modernized ASR appliance, the passphrase generation approach has been changed. Let me explain in simple steps to perform the push install of mobility agent on multiple machines with the modernized appliance.

    For the VMware to Azure scenario:

    Step: 1
    You will set up VMware vCenter account and its creds as well as the VM creds for both windows and linux at the appliance web UI as shown in the below screenshot

    Prepare an account for automatic discovery:

    Doc reference:

    Screenshot showing configuration of vCenter.

    Note: For Linux OS, ensure to provide the root credentials. For Windows OS, a user account with admin privileges should be added. These credentials will be used to push Mobility Service on to the source machine during enable replication operation.


    After an Azure Site Recovery replication appliance is added to a vault, you can get started with protecting the machines.
    Set up disaster recovery to Azure for on-premises VMware VMs(Multiple)- Modernized

    After you select the list of VMs, select Next to proceed to source settings. Here, select the replication appliance and VM credentials. These credentials will be used to push and register mobility agent on the machine by Azure Site Recovery replication appliance to complete enabling Azure Site Recovery. Ensure accurate credentials are chosen.

    Appliance takes care of pushing and registering the agent on the selected VMs. You need not worry about the passphrase for registration in case of push installation for VMware VMs.

    Source settings

    That's it. Replication will be enabled for your machines.

    For Manual installation of mobility agent in case of Physical servers or VMware VMs. The passphrase approach is changed with configuration file method.

    Here is how Generate Mobility Service configuration file:

    Use the following steps to generate mobility service configuration file:

    1. Navigate to the appliance with which you want to register your source machine. Open the Microsoft Azure Appliance Configuration Manager and navigate to the section Mobility service configuration details.
    2. Paste the Machine Details string that you copied from Mobility Service and paste it in the input field here.
    3. Click Download configuration file.

    Image showing download configuration file option for Mobility Service

    This downloads the Mobility Service configuration file. Copy the downloaded file to a local folder in your source machine. You can place it in the same folder as the Mobility Service installer.

    You will use this configuration file while installing the mobility agent manually to register to the appliance as described in step5

    Screenshot showing source machine string.

    Please accept as answer and upvote if the above information is helpful for the benefit of the community.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful