Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Windows Computer Names #173

Open
v-xinda opened this issue Sep 16, 2020 · 2 comments
Open

Validate Windows Computer Names #173

v-xinda opened this issue Sep 16, 2020 · 2 comments
Labels
AT-CTI Created by CTI team bug Something isn't working P1

Comments

@v-xinda
Copy link

v-xinda commented Sep 16, 2020

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.
image
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: ` ~ ! @ # $ % ^ & * ( ) = + _ [ ] { } \ | ; : . ' " , < > / ?.
@v-xinda v-xinda added the AT-CTI Created by CTI team label Sep 16, 2020
@nturinski
Copy link
Member

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 nturinski changed the title Fail to create a Windows Virtual Machine with the username as "case" Validate Windows Computer Names Sep 16, 2020
@nturinski nturinski added this to the 0.3.0 milestone Sep 16, 2020
@nturinski nturinski added the bug Something isn't working label Sep 16, 2020
@nturinski nturinski modified the milestones: 0.3.0, backlog candidates Feb 8, 2021
@AzCode-Bot
Copy link
Collaborator

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.

Happy Coding!

@nturinski nturinski added the P1 label Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AT-CTI Created by CTI team bug Something isn't working P1
Projects
None yet
Development

No branches or pull requests

3 participants