Miradore provides a connector for Microsoft Active Directory. You can use the AD connector to import users from Active Directory to Miradore. The connector does not transfer passwords or groups to Miradore. This article provides instructions for setting up and using the connector.
The connector requires a computer with
- Windows 7 or Windows Server 2008 or newer
- .NET4.6 framework
- Connection to the domain
- Ensure that you have set TLS 1.2 as the default security protocol. For the older Windows version, check Microsoft's documentation
- Only users with the administrator role can import users to Miradore from Active Directory
- The network traffic between Miradore and the connector is secured by SSL.
- By default, the connector runs using the logged-in Windows account. You may change the account if necessary.
- The logged-in Windows account is also used for authentication to the Microsoft Active Directory.
- The connector authenticates with Miradore with an authentication key. Miradore generates a new key for each connector. These authentication keys can be deleted from the management console (System > Infrastructure Diagram > Miradore Connector for Microsoft Active Directory), similar to API keys.
How to set up and run the connector:
- Login to Miradore.
- Navigate to the Company > Users page on your Miradore site.
- Click the button Import > Import users from Microsoft Active Directory.
- On the wizard, you can configure filters for importing data. See the next section in this article for more details.
- Download the connector (EXE and configuration file).
- Run the connector on any domain-connected Windows computer that has ".NET4.6" installed. You may schedule the run in order to update your users frequently in Miradore. Ensure that you have set TLS 1.2 as the default security protocol.
- You can check the result from the Miradore Company > Users. It may take a few minutes before the users appear in Miradore.
- If you selected the option "Import Mail for Exchange account", an account named "Imported from Active Directory" will also be created for each user. Miradore users the email address, from the Active Directory, as the User name and Email address parameters for the MfE account. This account can be used in the Mail for Exchange configuration profiles by selecting it during the profile creation or later on the profile page.
How to control which users the connector imports to Miradore
By default, the connector imports all users from Microsoft Active Directory (except those without an email address).
However, when you download the connector with the Import users from Microsoft Active Directory button, you can specify more accurately which users the connector should import to Miradore.
For instance, you can configure the connector to skip disabled users or to import users only from given LDAP paths. Furthermore, you can filter the AD import using the Additional LDAP filter for example if you have all users in one organizational unit (OU) container in Microsoft Active Directory.
Notice that the LDAP path can contain spaces, but the LDAP path cannot refer to a group. Instead, you can refer to organizational units (OU), or containers like Common Name (CN) and Domain Components (DC).
Miradore saves your configurations to the configuration file (mdadconnector.exe.config). Advanced users can modify the configuration directly in order to change the import filters if necessary.
How to schedule the updates?
You can use standard Windows features to schedule the run of the connector. For instructions, see Scheduling user import from Microsoft Active Directory to Miradore.
Notice that you cannot import users without an email address, because the email address is a mandatory user attribute in Miradore.
The main way to troubleshoot the functionality of the connector is to investigate the output written by the connector in the Windows Command Prompt.
You can forward the output to a file by using a standard Windows Command Prompt option when running the connector mdadconnector.exe > log.txt.
After running the connector, you could also check if the "users.xml" file in the AD connector's installation directory is empty or not. In fact, this will tell you whether the connector is able to pull data from Microsoft Active Directory.
You can also try to investigate possible import issues using the Active Directory Explorer tool. One thing you could do is to go to the correct OU, copy the Object name, and check whether the string matches with the one mentioned in the connector's configuration file.