# Integrating InsightCM with Windows Active Directory

Integrate InsightCM with your Windows Active Directory to require users to log in with Windows account credentials.

Complete the following steps to enable LDAP on your browser.

1. In File Explorer, navigate to the following location:
C:\ProgramData\National Instruments\InsightCM 3.0\Auth
2. Open the LoginAuth.json file in a text file editor.
3. Modify each line category according to a Windows account in your organization.
Tip

Do not set DisableBuiltinAccounts to true until after you assign your Windows credentials to an InsightCM role. You will be unable to log in because your credentials lack the necessary permissions.

Note

InsightCM uses the DirectoryEntry class to facilitate the LDAP connection. In the LoginAuth.json file, LdapServiceAccountUserName and LdapServiceAccountPassword are the username and password by the DirectoryEntry class. If you define an LdapDomainName, InsightCM adds it followed by a backslash to the beginning of the username. The LdapConnectionString is used as the path in the DirectoryEntry class. See the example below.

4. Save the changes you made to the file.
{
"DisableBuiltinAccounts": false,
"LdapConnectionString": "LDAP://icm.com/OU=Test,DC=ICM,DC=COM",
"LdapDomainName": "icm.com",