Installing Log Analytics agents

The next step of the configuration is to install the analytics agents on the domain controllers and get them connected to Azure Monitor. This is done in the following way:

  1. Log in to the domain controller as domain administrator.
  2. Log in to the Azure portal.
  1. Go to All Services, then search for Log Analytics workspaces.
  2. Click on the relevant workspace from the list.
  3. Then go to Advanced Settings, as shown in the following screenshot:
  1. Then go to Windows Servers and click on Download Windows Agent (64 bit) to get the agent. Also, note down the WORKSPACE ID and PRIMARY KEY, as it is needed during the agent installation, ...

Get Mastering Active Directory - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.