@Kevin1 Wang(王詩凱) Thanks for the update! Glad to hear that issue got fixed. Appreciate for sharing the steps which helped you, this would certainly benefit other community members.
There could be a several reason based on the error message, These articles explain how to determine, diagnose, and fix issues that you might encounter when you use Azure Virtual Machines. In the navigation pane on the left, browse through the article list or use the search box to find issues and solutions.
https://video2.skills-academy.com/en-us/troubleshoot/azure/virtual-machines/welcome-virtual-machines
Kindly let us know if you have any question we are happy to assist you, also Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you or your answer, this can be beneficial to other community members reading this thread.