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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.