MicrosoftDNSAgent extension

Naresh Babu 135 Reputation points
2024-01-30T13:34:19.3433333+00:00

Hello Team, I am planning install/deploy MicrosoftDNSAgent extension. I have already applied AMA policy with DCRs. now planning to choose unified method to deploy and configure MicrosoftDNSAgent extension by policy since AMA and scope specific DCR deployment is done. looking for suggestions. thank you.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,802 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,132 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
793 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 17,401 Reputation points
    2024-02-01T10:32:00.97+00:00

    @Naresh Babu Thanks for reaching out. As far as I know, you can set up the DNS connector in only two ways:

    • Microsoft Sentinel portal. With this setup, you can create, manage, and delete a single Data Collection Rule (DCR) per workspace. Even if you define multiple DCRs via the API, the portal shows only a single DCR.
    • API. With this setup, you can create, manage, and delete multiple DCRs.

    Can you confirm if you are looking for a way to use already created DCR to collect the DNS logs?


  2. Stellnberger Philipp 0 Reputation points
    2024-03-20T10:12:05.58+00:00

    don´t know if this helps, but spent now hours in the troubleshooting why my asim dns dcr rule wasn´t collecting logs and saw, that the extention didn´t got installed on my machines.

    the way how i installed it was via powershell:

    Install-module Az.ConnectedMachine

    Import-module Az.ConnectedMachine

    $extPublisher = "Microsoft.Sentinel.AzureMonitorAgentExtensions"

    $extName = "MicrosoftDnsAgent"

    new-azconnectedMachineExtension -ResourceGroupName '<RGName>' -Location 'westeurope' -MachineName '<ARCMaschineName>' -Name $extName -Publisher $extPublisher -ExtensionType $extName

    0 comments No comments