Query an Active Directory Server (Discover Exchange servers)
Follow the steps to create a Host Discovery query using the Query an Active Directory server (Discover Exchange servers) source option. This option scans the default domain controller or a specified server but is scoped to return only computer objects residing in the configuration container for Exchange servers.
Step 1 – Open the Host Discovery Wizard. On the Source Page, select the Query an Active Directory server (Discover Exchange servers) option. Click Next.
Step 2 – On the Query page, name the query and select the credentials used to access the source.
-
Query Name – Provide a unique descriptive name for this query by typing over the
NEWQUERY
default name. Two queries cannot have the same name. If you use an existing name, a number is automatically appended to the query name, for exampleNEWQUERY
becomesNEWQUERY1
. -
Credentials – Select a Connection Profile. These credentials require the appropriate permissions for querying the source:
- Default credentials (credentials the application is run with) – Applies the credentials used to launch the Access Analyzer application
- Credentials in my default connection profile – Applies the default Connection Profile configured at the global level (Settings > Connection)
- Credentials in this connection profile – Use the dropdown list to select a Connection Profile from those preconfigured at the global level (Settings > Connection)
See the Connection topic for additional information on Connection Profiles.
Click Next to continue.
Step 3 – The Exchange Server Query page is scoped to the default Microsoft container where all Exchange servers are housed.
Leave this page unchanged. If you must modify this page, see the Query an Active Directory Server (General) topic for instructions. Click Next.
Step 4 – On the Options page, configure the query options as required.
-
Run the query when jobs that reference it are run – Select this option to automatically execute the Host Discovery query prior to executing a job that has the host list generated by this query assigned. This ensures any new hosts have been discovered and are available for auditing.
RECOMMENDED: Use this setting only for host lists tied to specific jobs that require up-to-date host lists.
-
Query Result Retention – Select how to maintain the host list generated by this discovery query:
- Yes, grow the host list by appending newly discovered hosts – The host list includes every host the query has ever discovered
- No, only show hosts that were found during the most recent run – The host list generated by this query includes only hosts found in the most recent query execution. This option removes hosts from the generated host list, but does not remove hosts from the Host Master Table.
Click Next to continue.
Step 5 – On the Inventory page, the host inventory process can be automatically included with the discovery query.
-
Refresh inventory every time when the host discovery query completes – Automates the host inventory process and is dependent on the Settings > Host Inventory node configuration for the age of previously inventoried records. Leaving this option deselected applies the global settings for host inventory.
-
Credentials – Select a Connection Profile. These credentials require the appropriate permissions for gathering inventory information from the discovered hosts:
- Default credentials (credentials the application is run with) – Applies the credentials used to launch the Access Analyzer application
- Credentials in my default connection profile – Applies the default Connection Profile configured at the global level (Settings > Connection)
- Credentials in this connection profile – Use the dropdown list to select a Connection Profile from those preconfigured at the global level (Settings > Connection)
See the Connection topic for additional information on Connection Profiles.
Click Next to continue.
Step 6 – The Summary page displays all the selected query configuration settings. To make changes, click Back to navigate to the relevant wizard page. Click Finish to complete the configuration process.
Step 7 – A Confirm dialog box opens. Click Yes to run the query now or No to run the query at another time.
Both options close the Host Discovery Wizard and return to the Host Discovery Queries view on the Host Discovery node. If Yes is selected, the Query State indicates the running query.