Hi Steve,
Yes, for OS disk you need to Deallocate the VM before you can expand the disk.
How to expand virtual hard disks attached to a Windows virtual machine
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/expand-disks
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP