Hi Mahesh Upadhyay,
I tried with the same image from my end, its working for me. I used Visual Studio 2022 Enterprise on Windows 11 Enterprise + Microsoft 365 Apps 24H2 image, with latest version and size 8vCPU and 32GB RAM.
Can you tell me in which region are you trying and the Image version, compute and storage details. Are you using Free Trial subscription?