You apparently extended a different disk (disk 2) from the one you intended to extend. You should see unallocated space to the right of the existing partition on the disk - that would allow you to extend it. Follow
https://zcusa.951200.xyz/en-us/azure/virtual-machines/windows/expand-disks
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin