Azure Terraform tutorial doesn't appear to create an accessible VM

Am trying to run the tutorial here: Create Resource Dependencies | Terraform - HashiCorp Learn

when I create the listed infrastructure, I can view my tfstate file to get the public IP address that was created for me. all well and good. The tutorial appears to create a VM with an open SSH port 22 for me to connect to using my username and password that I was prompted for when using apply to fill in those variables. However, the username and password to not appear to work – the virtual machine is giving me access denied errors and not allowing me to get in.

Did I make a mistake?