Connecting to Active Directory Credentials

I have some usernames and passwords stored in active directory that I would like to use as TeamCity login credentials. When I tried to login with the active directory credentials, I am getting the following message in my teamcity-auth.log

Login failure: the user has not been granted the requested logon type at this computer.

Does anyone know how to fix this problem?

Thank you!

Comment actions Permalink

Hi Jonathan,

Did you enable authentication against active directory? How did you configure authentication settings in TeamCity?

Comment actions Permalink

Hi Alina,

When I log in as a super user I see that Microsoft Windows Domain is under credentials authentication modules. In my

<TeamCity data directory>

/config/auth-config.xml I have 

<auth-module type="NT-Domain">

            <property key="allowCreatingNewUsersByLogin">true</property>

            <property key="defaultDomain">VINEYARD</property>


I am not sure if I am connected to active directory.
Comment actions Permalink

The authentication setting are correct on TeamCity side. It seems that the account doesn't have the appropriate AD rights. Please see the related post:


Please sign in to leave a comment.