none
Unable to create OU name under the Domain forest

    Question

  • I am using Server 2012 R2 and having this issue for some time now.

    I am trying to create an OU under my organization but it pops up a message and says that "windows cannot create the object Front Office because: an attempt was made to add an object to the directory with the name that is already in use" but when i checked the OU there is no folder or OU under that name.

    Please help me to fix the issue if someone has got the same issue.

    I have checked the replication but there is no issue found with other forest domains.

    Thank you,

    • Moved by nzpcmad1 Tuesday, January 24, 2017 6:04 PM From ADFS
    Tuesday, January 24, 2017 12:13 PM

Answers

  • Hi,
    In my experience, you might have the same name somewhere inside the domain, as Jorrk said, please perform a full search.
    Searching in Active Directory Domain Services
    https://msdn.microsoft.com/en-us/library/aa746427(v=vs.85).aspx
    Searching Active Directory with Windows PowerShell
    https://technet.microsoft.com/en-us/library/ff730967.aspx
    Best regards,
    Wendy

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Wednesday, January 25, 2017 8:28 AM
    Moderator
  • I am using Server 2012 R2 and having this issue for some time now.

    I am trying to create an OU under my organization but it pops up a message and says that "windows cannot create the object Front Office because: an attempt was made to add an object to the directory with the name that is already in use" but when i checked the OU there is no folder or OU under that name.

    You are having duplicate names somewhere. Use this script in PowerShell to show you where is it located. 

    Get-ADOrganizationalUnit -Filter {Name -like "*Front Office*"} | FT Name,DistinguishedName -AutoSize


    Mahdi Tehrani   |     |   www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.

    Wednesday, January 25, 2017 10:13 AM
    Moderator

All replies

  • This is most likly a question for the ADDS forum.
    But some suggestions, are you a domain admin when you try to create the OU?
    Enable "Advanced View" in the dsa-snapin and take another look.

    Try also to search for the CN that you are trying to create.

    Tuesday, January 24, 2017 4:34 PM
  • Hi,
    In my experience, you might have the same name somewhere inside the domain, as Jorrk said, please perform a full search.
    Searching in Active Directory Domain Services
    https://msdn.microsoft.com/en-us/library/aa746427(v=vs.85).aspx
    Searching Active Directory with Windows PowerShell
    https://technet.microsoft.com/en-us/library/ff730967.aspx
    Best regards,
    Wendy

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Wednesday, January 25, 2017 8:28 AM
    Moderator
  • I am using Server 2012 R2 and having this issue for some time now.

    I am trying to create an OU under my organization but it pops up a message and says that "windows cannot create the object Front Office because: an attempt was made to add an object to the directory with the name that is already in use" but when i checked the OU there is no folder or OU under that name.

    You are having duplicate names somewhere. Use this script in PowerShell to show you where is it located. 

    Get-ADOrganizationalUnit -Filter {Name -like "*Front Office*"} | FT Name,DistinguishedName -AutoSize


    Mahdi Tehrani   |     |   www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.

    Wednesday, January 25, 2017 10:13 AM
    Moderator
  • Hi,

    I am checking how the issue going, if you still have any questions, please feel free to contact us.

    And if the replies as above are helpful, we would appreciate you to mark them as answers, and if you resolve it using your own solution, please share your experience and solution here. It will be greatly helpful to others who have the same question.

    Appreciate for your feedback.

    Best regards,

    Wendy


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, February 3, 2017 8:11 AM
    Moderator