@Michael Malambri, Thanks for sharing the solution. I am glad the issue is fixed. To help others quickly find the solution, please let me write a summary for our issue.
Issue
Get a "The connection was denied because the user account is not authorized for remote login." error when access Azure VM.
Resolution
Again, thanks for your time and have a nice day!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.