1. In Applications Manager console, go to Admin -> Performance Polling -> Optimize Data Collection.
2. Select Active Directory as monitor type and choose the required metric under 'Metric Name'. Select Collect data in every poll option and click Save.
3. Now try polling the monitor and check if data is populated.
4. Check if all the powershell prerequisites are done. The prerequisites can be found here: https://www.manageengine.com/products/applications_manager/help/enabling-powershell.html
1. Check if all the powershell prerequisites are done. The prerequisites can be found here: https://www.manageengine.com/products/applications_manager/help/enabling-powershell.html
2. Open powershell in administrator mode in the Applications Manager-installed machine.
3. Navigate to <Applications Manager Home>\working\conf\application\scripts\powershell directory and execute the below command by replacing the hostname with that of the AD server:
.\PortConnectivity.ps1 'hostname' '' '' 'ActiveDirectoryPorts.ps1'
4. Check the output and try to resolve the errors found, if any.