I'm trying to convert my license to an Ubuntu Pro and running into a problem

JohnSebastian-3934 421 Reputation points
2024-10-14T21:41:38.3166667+00:00

I'm following these instructions: https://learn.microsoft.com/en-us/azure/virtual-machines/workloads/canonical/ubuntu-pro-in-place-upgrade

I need to upgrade my license to an Ubuntu Pro license in order to have access to bug fixes only available with a pro license.

According to the documentation the first step is to run this command which I am doing from the Azure Portal via the command line console:

az vm update -g TIC-PRODUCTION-RG -n nwm-tic-prod --license-type UBUNTU_PRO

(PropertyChangeNotAllowed) Changing property 'osProfile' is not allowed.

Code: PropertyChangeNotAllowed

Message: Changing property 'osProfile' is not allowed.

Target: osProfile

I do not know why I am getting this error.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,930 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,331 Reputation points Microsoft Employee
    2024-10-14T23:11:06.38+00:00

    @JohnSebastian-3934 Only images published by Canonical can be converted. Details can be found here. Can you confirm the VM SKU is one that is published by Canonical? If it is, please let me know the SKU details and region so I can further investigate. If it is a custom image or published by a third party you will need to migrate the VM to Ubuntu Pro by manually moving the data.

    Hope this helps. Please let me know if you still have questions or run into more issues.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image


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.