-
Notifications
You must be signed in to change notification settings - Fork 605
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
Comments
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. Thank you! |
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! |
@petehauge - this causes IaC - Bicep to fail, when the username changes from the original state, only way to remediate this is to remove the DevTest Lab and push it again |
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!
The text was updated successfully, but these errors were encountered: