You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repro Steps:
F1 --> Click "Create Virtual Machine...(Advanced)" --> Enter a name --> Select Windows OS --> Select an image --> Enter the username with "case" --> Enter the password and confirm it --> Select a location.
Expect:
Succeed to create a Windows Virtual Machine.
Actual:
Fail to create a Windows Virtual Machine.
Details in Output:
4:00:30 PM: Creating resource group "nicole-adv-win-16" in location "eastus"...
4:00:32 PM: Successfully created resource group "nicole-adv-win-16".
4:00:32 PM: Creating new public IP addresss "nicole-adv-win-16-ip"...
4:01:12 PM: Created new public IP addresss "nicole-adv-win-16-ip".
4:01:12 PM: Creating new network security group "nicole-adv-win-16-nsg" with inbound ports 3389 enabled...
4:02:04 PM: Created new network security group "nicole-adv-win-16-nsg".
4:02:04 PM: Creating new virtual network "nicole-adv-win-16"...
4:02:45 PM: Created new virtual network "nicole-adv-win-16".
4:02:45 PM: Creating new subnet "default"...
4:03:17 PM: Created new subnet "default".
4:03:17 PM: Creating new network interface "nicole-adv-win-16511"...
4:03:24 PM: Created new network interface "nicole-adv-win-16511".
4:03:24 PM: Generating public/private rsa key pair in "/Users/azuretoolstest/.ssh/azure_nicole-adv-win-16_rsa"...
4:03:27 PM: Generated public/private rsa key pair in "/Users/azuretoolstest/.ssh/azure_nicole-adv-win-16_rsa".
4:03:27 PM: Creating new virtual machine "nicole-adv-win-16" with size "Standard D2s v3" and image "WindowsServer 2016-Datacenter"
4:03:34 PM: Error: Windows computer name cannot be more than 15 characters long, be entirely numeric, or contain the following characters: ` ~ ! @ # $ % ^ & * ( ) = + _ [ ] { } \ | ; : . ' " , < > / ?.
The text was updated successfully, but these errors were encountered:
I'm not sure that this has to do with the username being "case". I tried that on the Portal and it created fine. Seems the windows computer name is too long at 18 characters. Also hyphens don't appear to be allowed for computer names.
nturinski
changed the title
Fail to create a Windows Virtual Machine with the username as "case"
Validate Windows Computer Names
Sep 16, 2020
This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
OS: Mac
Build Version: 20200914.3
Repro Steps:
F1 --> Click "Create Virtual Machine...(Advanced)" --> Enter a name --> Select Windows OS --> Select an image --> Enter the username with "case" --> Enter the password and confirm it --> Select a location.
Expect:
Succeed to create a Windows Virtual Machine.
Actual:
Fail to create a Windows Virtual Machine.
Details in Output:
The text was updated successfully, but these errors were encountered: