Creating computer obect with non admin user returing CONSTRAINT_ATT_TYPE instead INSUFF_ACCESS_RIGHTS

Prashanth Reddy 1 Reputation point

Hi All,

We have Administrator user account by using we can create new entries like "Computer", "InetOrgPerson", "OrganizationalUnit", "Country" in MS AD without any issue.

When trying same with non-admin user for "InetOrgPerson", "OrganizationalUnit", "Country" entries, it is returning "INSUFF_ACCESS_RIGHTS". But, for "Computer" entry instead of "INSUFF_ACCESS_RIGHTS" it is returning "CONSTRAINT_ATT_TYPE" error.

The same payload for "Computer" is working for Admin user. Here, instead "INSUFF_ACCESS_RIGHTS" it is returning "CONSTRAINT_ATT_TYPE".

Is this expected or any thing required in configuration part?


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

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,196 Reputation points

    Hi @Prashanth Reddy

    After a specific user or a specific group is provided with the permission to add or to remove computer objects to the domain on an organizational unit (OU) through the Delegation Wizard, users can't add some of the computers to the domain.

    These symptoms may occur if one or more of the following conditions are true:

    -A user or a group hasn't been granted the Reset Passwords permission for the computer objects.
    -Users have been delegated control of the Account Operators group or are members of the Account Operators group. These users haven't been granted the Read permission on the built-in OU in "Active Directory Users and Computers."

    You can use these article for resolution steps


    --If the reply is helpful, please Upvote and Accept it as an answer--

  2. Gary Reynolds 9,376 Reputation points

    Hi @Prashanth Reddy

    The reason why the computer account\object creation is working while the other object types are failing with INSUFF_ACCESS_RIGHTS, is that by default a non-admin user can create up to 10 computer objects.

    The CONSTRAINT_ATT_TYPE normally means that the attribute has a pre-defined value, and you are trying to set a value that is not in the predefined list. For example, the country attribute this needs to be a two-letter ISO 3166 country code. i.e. "DE", "AU" and "FR". If you are using the same data for both the admin and non admin users, it's likely that the non-admin user is missing an permission for one of the attributes that you are try to set.

    As a test, try setting the minimum attributes and then increase number of attributes included until you identify which attribute is causing the problem.