Hi Emran Hossain,
Thank you for reaching out to the Microsoft Q&A platform.
Here are some steps you can take to troubleshoot and resolve this issue:
If the Agent was not installed on the VHD before uploading, you will need to download the VM Agent.
Please confirm if the agent is installed if yes, you can try uninstalling and reinstalling the VM agent.
https://zcusa.951200.xyz/en-us/troubleshoot/azure/virtual-machines/windows/windows-azure-guest-agent
Install it on the VM while it is running and Restart the VM after installation.
Check that the VM size is enough space for workloads and faster accessible.
Check the NSG associated with the VM, and inbound rules allow RDP (TCP port 3389).
Please refer to this troubleshooting document for Troubleshoot Remote Desktop connections to an Azure virtual machine
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Thank you.