Deleting a user is not supported on Windows VM
See original GitHub issue
az feedback
auto-generates most of the information requested below, as of CLI version 2.0.62
Related command az vm user delete --ids
Describe the bug Hi, I am trying to delete a user across multiple VMs in different subscriptions, the az cli, ‘az vm user delete’ allows you to provide ids for all the VMs irrespective of subscription. when i use the az vm user delete cmd, i get the error “Deleting a user is not supported on Windows VM”. However i noticed a workaround on this issue, which doesn’t quite cover my use-case. Any ideas on how to resolve? Thanks
Expected behavior The local account user should be deleted from the VMs
Issue Analytics
- State:
- Created a year ago
- Comments:24 (10 by maintainers)
Top Results From Across the Web
Deleting user from VM, unsupported · Issue #23453 - GitHub
Hi @navba-MSFT We have 10 Windows VMs; These are used to access environments and we often setup user accounts on each VM. I...
Read more >Unassign Hyper V VM with deleted User account
I have a VM in my Collection that has a User Account assigned to it. The account is S-1-5-21-18354656...... I am unable to...
Read more >Delete a VM and attached resources - Azure Virtual Machines
Set delete options when creating a VM. Open the portal. Select + Create a resource.
Read more >Can't delete a virtual machine - TechNet - Microsoft
All services are running, I am running the console locally on the machine via Microsoft RDP, and another user can not delete it...
Read more >Delete a user profile in Windows - Microsoft Learn
This article introduces how to delete a user's profile on a Windows-based device. Note. To perform these methods, you must be a member...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
turns out Manuj does not work with VM Ex. I forwarded email to correct team.
@zhoxing-ms thanks for the feedback.looking forward to the response.