Hi Michele,
You can reset this password using the Azure Portal:
Azure portal
It would almost be better to restart and recreate the VM:
Or you can do this via Azure CLI:
Azure CLICopyOpen Cloudshell
vmname="myVM"
username="azureuser"
az vm create \
--resource-group $resourcegroup \
--name $vmname \
--image Win2022AzureEditionCore \
--public-ip-sku Standard \
--admin-username $username
If this is helpful please accept answer.