Can we expand the disks in Azure VM without stopping the VM itself. (online)

We are looking for an online method to expand the disk which we are not able to crack. We have certain apps moving to IAAS which at times require disk expansion.

  • Did you tried this Article
    – Shanky
    Commented May 3, 2019 at 10:41
  • Thats the known process where you shut down the VM. (offline) We are seacrhing if there is an option to do it online. Commented May 3, 2019 at 10:59

1 Answer 1


I believe the answer is you cannot. I tried doing so but you get below message on Azure portal which rules out the possibility

Disks can be resized or account type changed only when they are unattached or the owner VM is de-allocated.

enter image description here

So you have to either stop the VM or detach the disk, change its size and attach it again. With VM being online it is not possible.

  • 1
    Thanks. i really wish they introduce online expansion as Production servers can really suffer because of this. Commented May 3, 2019 at 14:35
  • May be you could raise a feedback request.
    – Shanky
    Commented May 3, 2019 at 14:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.