Remove-ADObject: The requested object has a non-unique identifier and cannot be retrieved

chirag darji 136 Reputation points
2023-10-19T05:11:46.1766667+00:00

Hi All,

I have created user in active directory, incidentally that user is automatically showing in disable mode. I try to remove it that user but while I delete the user I get the error "Remove-ADObject: The requested object has a non-unique identifier and cannot be retrieved"

I'm using powershall to remove Ad-Object I perform the below command

Get-ADUser -Filter "Displayname -eq '$($name)'" | Remove-ADUser

After I pass the command, Get the error. Help me to resolve.

MicrosoftTeams-image (2)

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
{count} votes

1 answer

Sort by: Most helpful
  1. Goutham Hosahalli Jagadeesh 0 Reputation points
    2024-11-07T16:10:33.2066667+00:00

    Hi, I have the exact same problem. Is this issue resolved?

    Regards,

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.