Azure Monitor Agent Troubleshooting Tips?

David Broggy 5,681 Reputation points MVP

Hi there,
I'm experimenting with the Azure Monitor Agent, since that's the recommended replacement for the old log analytics agent.
I have a windows 11 pc and I've downloaded the AMA agent from here and installed it.

However I'm seeing this error in the logs:
c:\resourcers\azure monitor agent\azuremoniutoragent.monitoringdatastore\configuration\

Info (2022-08-22T18:40:06Z): MonAgentManager.exe - Initializing McsManager using,mcsGlobalEndpoint=,azureResourceEndpoint=,m_MonAgentVersion=45.11.01,customResourceId=,ManagedIdentity=,AADMode=true,aadClientId=2158f033-042b-4044-b4dc-8acd105cf31e,aadAuthority=,aadResource=,proxyMode=none,proxyAddress=,proxyAuth=false
Error (2022-08-22T18:40:06Z): MonAgentManager.exe - Tenant and device ids retrieval failed with HRESULT 0x8000ffff

Any idea what that means or if there is any decent troubleshooting tips?
I can't find any reference for that ClentId (and I haven't set up any custom app registrations)
I've read all of the Microsoft Learn I can find but I can't find much there to help with this.


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,787 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Andrew Blumhardt 9,491 Reputation points Microsoft Employee

    The agent needs a valid workspace ID and key. The installer you used may need a command argument or you may need to pull the installer MSI from your portal directly.

    0 comments No comments

  2. AnuragSingh-MSFT 19,686 Reputation points

    @David Broggy , I am sorry for the inconvenience for this issue.
    As "Azure Monitor agent on Windows client devices" is still in Preview, can you please use the following Teams channel for your queries/feedback - Azure Monitor Agent User Community

    For details, please refer to Questions and feedback for Azure Monitor agent on Windows client devices.

    Please let me know if you have any questions.

    0 comments No comments