Problem with AD assessment with Azure Monitor Log Analytics

Peter Sundelin 16 Reputation points
2020-11-27T06:50:07.38+00:00

Have added a on-prem DC for AD assessment, install works fine, heartbeat is fine, but no data is sent to Log Workspace

Have seen this in the eventlog on the on.prem DC

The constructor for the managed module type "Microsoft.EnterpriseManagement.Mom.Modules.AdvisorAssessmentExecuter.ProbeAction.AdvisorAssessmentExecuterProbe" threw an exception. This module was running in rule "Microsoft.SystemCenter.AdvisorAssessments.ADAssessment.RunAdvisorAssessmentRule" running for instance "" with id:"{dwqdqwdwq}" in management group "dwqdqwdqwd".

The exception text is:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Oms.Assessments.Stores, Version=8.0.1.788, Culture=neutral, PublicKeyToken=KEY' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Oms.Assessments.Stores, Version=8.0.1.788, Culture=neutral, PublicKeyToken=KEY'
at Microsoft.EnterpriseManagement.Mom.Modules.AdvisorAssessmentExecuter.ProbeAction.AdvisorAssessmentExecuterProbe..ctor(ModuleHost`1 moduleHost, XmlReader configuration, Byte[] previousState)

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Oms.Assessments.Stores, Version=8.0.1.788, Culture=neutral, PublicKeyToken=KEY
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Monitoring Agent/Agent/
LOG: Initial PrivatePath = NULL

Calling assembly : (Unknown).

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\Microsoft Monitoring Agent\Agent\MonitoringHost.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.Oms.Assessments.Stores, Version=8.0.1.788, Culture=neutral, PublicKeyToken=KEY
LOG: Fusion is hosted. Check host about this assembly.
LOG: Try host assembly store with assembly microsoft.oms.assessments.stores, version=8.0.1.788, culture=neutral, publickeytoken=KEY, processorarchitecture=amd64.
LOG: Try host assembly store with assembly microsoft.oms.assessments.stores, version=8.0.1.788, culture=neutral, publickeytoken=KEY, processorarchitecture=msil.
LOG: Try host assembly store with assembly microsoft.oms.assessments.stores, version=8.0.1.788, culture=neutral, publickeytoken=KEY.
WRN: Host assembly store does not contain this assembly.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Monitoring Agent/Agent/Microsoft.Oms.Assessments.Stores.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Monitoring Agent/Agent/Microsoft.Oms.Assessments.Stores/Microsoft.Oms.Assessments.Stores.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Monitoring Agent/Agent/IntelliTraceCollector/Microsoft.Oms.Assessments.Stores.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Monitoring Agent/Agent/IntelliTraceCollector/Microsoft.Oms.Assessments.Stores/Microsoft.Oms.Assessments.Stores.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Monitoring Agent/Agent/Microsoft.Oms.Assessments.Stores.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Monitoring Agent/Agent/Microsoft.Oms.Assessments.Stores/Microsoft.Oms.Assessments.Stores.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Monitoring Agent/Agent/IntelliTraceCollector/Microsoft.Oms.Assessments.Stores.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Monitoring Agent/Agent/IntelliTraceCollector/Microsoft.Oms.Assessments.Stores/Microsoft.Oms.Assessments.Stores.EXE.

Cant find anything, have tried older versions of the agent, reinstall, reboot.
Looks to me that the agent cant download the files needed

Any ideas?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,273 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.