Hello AIACloudSupport16,
Thank you for posting your query here!
Resizing the OS disk of an Azure virtual machine (VM) involves several steps. Directly reducing the size of an existing Azure OS disk is not supported. Instead, you can create a new smaller OS disk by following these steps:
Shrink the Volume within the OS: Shrink the volume size within the Windows OS to ensure the actual data size is less than the desired new disk size.
Create a Snapshot: Create a snapshot of the OS disk.
Create a New Managed Disk: Create a new managed disk from the snapshot with the desired smaller size.
Create a New VM: Create a new VM using the new managed disk.
For further reference and detailed steps, you may refer: https://video2.skills-academy.com/en-us/answers/questions/1344057/how-do-i-reduce-os-disk-size
Do let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.