Azure Migration: Server Migration error during Enable Migration: Service returned an error. (Error Code '8079ffff')

R Artes 26 Reputation points
2021-11-26T11:03:39.283+00:00

Azure Migration: Server Migration error during Enable Migration: Service returned an error. (Error Code '8079ffff')

During replication, the service returns error:

Provider error code: 31343
The operation failed with the error: Enable replication failed for virtual machine '

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
718 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Limitless Technology 39,356 Reputation points
    2021-11-26T18:59:46.477+00:00

    Hello anonymous user

    Please try the next steps to resolve the issue:

    1.Stop replication in Azure Portal of affected Virtual Machine
    2. This will disable and remove replication menu from affected Virtual Machine in Hyper-V
    3. Remove all checkpoints from the Virtual Machine as shown above in Hyper-V
    4. Enable replication again in Azure Migrate of affected Virtual Machine, this should enable replication correctly without errors and replication will start shortly after

    Hope this helps with your query,


    --If the reply is helpful, please Upvote and Accept as answer-

    1 person found this answer helpful.

  2. R Artes 26 Reputation points
    2022-01-24T14:09:18.423+00:00

    At last I got this working. The clue was in the MARS agent log file on the Hyper-V host: CBEngineCurr.errlog

    https://pod01-prot2.we.backup.windowsazure.com/ProtectionService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.

    I had to create an exception in the proxy server that bypassed authentication for backup.windowsazure.com.

    Also, even though the MARS agent asks you if you have a proxy server, DO NOT USE IT!
    When you install the MARS agent, choose the option "Connect directly to Azure Site Recovery without a proxy server".
    If you choose "Connect using a proxy server" then the agent tries to connect via HTTPS which is not supported by Azure.

    1 person found this answer helpful.

  3. Alaa Kalakech 10 Reputation points
    2023-12-12T21:08:07.5+00:00

    follow the steps below :

    1. disable and remove replication of selected VM/s
    2. remove site recovery agent and Mars agent from Host server
    3. restart host server
    4. Reinstall new azure site recovery provider setup + register + renew certificate
    5. restart replication.
    1 person found this answer helpful.
    0 comments No comments

  4. Eigenmann René 1 Reputation point
    2024-03-22T12:10:39.63+00:00

    Thanks works fine for me

    0 comments No comments