question

emilemilmammadli-6480 avatar image
0 Votes"
emilemilmammadli-6480 asked LimitlessTechnology-2700 answered

Couldn't create a new attribute in Active Directory Schema

Hello everyone,

Firstly, I created a new attribute it was OK. Then I defunced and removed from classes. Restarted Active Directory Domain Services. Then I wanted recreate the same attribute but I couldn't do it. It tells me:

An attemp was made to add an object to the directory with a name that is already in use.

Please help me.

windows-serverwindows-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello Emile,

I will suggest to clean the AD Recycle Bin. Seens that after deleting the attritbute the name will be still "locked" due to remain in the bin and deleted after certain time.

This can help you:
From a elevated Powershell prompt, run:

Get-ADObject -Filter {isDeleted -eq $true -and Name -like "DEL:"} -IncludeDeletedObjects | Remove-ADObject -Confirm:$false

Best regards,
Luis P

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.