This might be a dreadfully silly question but here goes...
I have a virtual machine in Azure DevTest Labs that was created using shared IP configuration. I now have a requirement to change the size but this fails with the message
Resizing virtual machine with shared IP configuration is not supported.
Fair enough. I tried disabling shared public IP for the existing lab subnet within the 'Configuration and policies - Virtual networks' blade and retrying the resize opreation. Same error message.
My train of though now is to create a different virtual network without shared public IP, migrate the VM to use that and try and resize that way.
Is there an easier way to do this? Or a better way?
By default, when the shared IP configuration is enabled at the VM creation time, the public Ip address is disabled with its network interface. You could enable the public Ip address then resize your lab VM, this works on my side.
Navigate to DevTest Lab--->my virtual machines(VM name)--->virtualnetwork/subnet--->Device(nic)--->IP configurations--->Public IP address---> enabled.