Getting error while restoring the Deleted Active Directory User object from Recycled Bin.

raj a 316 Reputation points
2021-10-14T20:05:07.04+00:00

We are having windows Server 2008 R2, Windows Server 2012 R2 & Windows Server 2016 Domain Controllers in our Environment.

Getting following error while restoring the Deleted Active Directory User object from Recycled Bin.

"An attempt was made to modify an object to include an attribute that is not legal for its class".

Could anyone please advise how we can fix it?

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,798 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-10-14T20:15:00.877+00:00

    Might try via PowerShell.
    https://learn.microsoft.com/en-us/archive/blogs/canitpro/powershell-basics-restoring-a-deleted-powershell-user

    --please don't forget to upvote and Accept as answer if the reply is helpful--


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.