Symptoms:
ERROR DESCRIPTION : Failed to Leave the domain domainname.com: The user or group named 'xyz\groupname' does not exist.
Error Screenshot :
VMware vSphere ESXi
This issue may occur due to the stale entry of the Group using the same domain in the ESXI Host .
When you attempt to leave an ESXi host to Active Directory, the process fails with the error:
Failed to Leave the domain domainname.com: The user or group named 'xyz\groupname' does not exist.
2024-08-29T09:00:01.050Z verbose hostd[xxxxxx] [Originator@6876 sub=Solo.Vmomi opID=6c05a716 user=root] Arg accessMode:
--> "accessReadOnly"
2024-08-29T09:00:01.050Z info hostd[xxxxxx] [Originator@6876 sub=Solo.Vmomi opID=6c05a716 user=root] Throw vim.fault.UserNotFound
2024-08-29T09:00:01.050Z info hostd[xxxxxx] [Originator@6876 sub=Solo.Vmomi opID=6c05a716 user=root] Result:
--> (vim.fault.UserNotFound) {
--> principal = "Domain_xyz",
--> unresolved = false,
--> msg = "",