Azure Migrate - Upgrading operating system (OS) Completed with errors (2012r2 -2019)

JB 0 Reputation points
2024-06-20T12:03:52.77+00:00

Hi all, hoping to get some help with a migration issue... I attempted a test migration in Azure Migrate with OS upgrade from Server 2012r2 to 2019, and encountered the following error:

Error ID

28222

Error Message

OS upgrade on virtual machine 'vm-test' under resource group 'RG-TS' failed with error message 'OS upgrade couldn't be initiated. Terminated with the following error: The parameter is incorrect.

'.

Possible causes

OS upgrade on virtual machine 'vm-test' failed.

Recommendation

Resolve any errors and retry the operation.

First Seen At

6/20/2024, 1:36:39 AM

6/20/2024, 1:37:16 AM

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,796 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
818 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,599 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,228 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 46,201 Reputation points Microsoft Employee
    2024-06-20T16:40:55.5033333+00:00

    Hello @JB Thank you for reaching out to us on Microsoft Q&A platform. Happy to help!

    Based on the information shared, I understand that you want to migrate your on-premises Windows Server 2012 to Azure and upgrade the OS to Windows Server 2019. However, you encountered an error during the test migration.

    Note: Direct upgrade from Windows Server 2012 to Windows Server 2019 is not possible as per MS documentation - https://learn.microsoft.com/en-us/azure/migrate/how-to-upgrade-windows

    User's image Recommended workaround: IMO, you can upgrade from Windows Server 2012 to Windows Server 2016 and then post migration follow this approach - https://learn.microsoft.com/en-us/azure/virtual-machines/windows-in-place-upgrade#perform-in-place-upgrade-to-windows-server-2016-2019-or-2022 to upgrade from Windows Server 2016 to Windows Server 2019.

    User's image

    User's image

    Hope this helps resolve your issue. Please write back to us if you need any further assistance in this matter!


    If the response helped, do "Accept Answer" and up-vote it


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.