Thanks for posting your question in the Microsoft Q&A forum.
The error you're encountering (code 0x112f) is often related to Remote Desktop Protocol issues.
- Ensure that the NSG associated with your VM allows inbound RDP traffic (port 3389).
- Ensure you're using the latest version of the Remote Desktop client on your local machine.
- Use the Azure portal to verify that RDP is enabled on the VM and that the correct port is being used.
- Try accessing the VM through Azure Serial Console to check for any system-level issues.
- Use Azure Serial Console or run diagnostic tools to check for any system errors or warnings.
- Check both the Azure and VM-level firewall settings to ensure RDP traffic is allowed.
- Use Azure portal to reset the RDP configuration of the VM.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful