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

Cannot set or update property userName for VM #853

Open
nbdinara opened this issue Oct 25, 2022 · 3 comments
Open

Cannot set or update property userName for VM #853

nbdinara opened this issue Oct 25, 2022 · 3 comments

Comments

@nbdinara
Copy link

I renamed local admin account name on VM and I want to update userAdmin property too, but when I try to do that I see this error
Status code: 400
error": {
"code": "CannotSetProperty",
"message": "Cannot set or update property userName."
}

Is there a way to update this property? Or how to do it right?

Thank you!

@petehauge
Copy link
Collaborator

Hi - just to confirm, are you working with DevTest Labs or Lab Services? In either case, I don't think you are able to update this property - but I can add it as a feature request to the team depending on which product you're using. Thanks!

@nbdinara
Copy link
Author

Hi - just to confirm, are you working with DevTest Labs or Lab Services? In either case, I don't think you are able to update this property - but I can add it as a feature request to the team depending on which product you're using. Thanks!

Hello, thank you for reply.
It is DevTest Labs.
I update name of local user admin account on the VM itself. But this property in Azure Portal was not updated. I am wondering what is the impact of this attribute (where and how it is used). I am trying to avoid wrong behavior and security issues.

Thank you!

@petehauge
Copy link
Collaborator

I think the only place it's used is when you try to connect to the VM, the RDP file provided has the username set to this property. I don't think we use the property anywhere else... It means that when you download the RDP file to connect, you'll need to update the username before connecting.

Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants