The First part of the journey s when the beacon runs the active directory import. This can be found within the beacon UI under active directory
When this process runs, this uses LDAP to connect to the configured domain controller. The connector will pull the information from the domain controller, and place all the information from it into a XML file within the temp directory. We can see this within the logs located C:\ProgramData\Flexera Software\Compliance\Logging\ActiveDirectoryImport
After the file has been generated and all of the data has been entered into the XML file, the next step of the process is to move the file from temp to your allocated incoming directory under the activeDirectory folder. This is usually C:\ProgramData\Flexera Software\Incoming\ActiveDirectory. This usually prefixes the file with the domain that it has come from so in my instance it would be named
Once the file has been moved to the Incoming ActiveDirectory folder, the usual beacon process takes over and the scheduled ndupload task runs (by default every minute) to move this file from \Incoming\ActiveDirectory to the Application (or Inventory server, if you are using a split server layout)
When the file enters the Inventory server, it is handled by IIS under the web resolvers. Which calls the DLL directly depending on the file type. This is usually shown within the dispatcher log located C:\ProgramData\Flexera Software\Compliance\Logging\WebResolvers
Note: *If for some reason this import fails, there will be an entry within the dispatcher log, and the file will end up within the Incoming\ActiveDirectory\Badlogs*
During this import process, the data is taken from the actdir file and put into the Inventory database usually prefixed with AD*
After AD tables are populated in IM database, the AD importer calls EXEC ReconcileDomain which calls ReconcileComputers and ReconcileUsers. This also populates the dbo.User and dbo.Computer table. This is why you get users in the UI after importing AD data. This step also deletes users/computers if they are removed from AD.