File Not Found Exception while configuring Log Analytics

This is an update for our customers who are hitting below exception while configuring Log Analytics workspace from SCOM console. This blog talks about workaround for this issue, please follow the mentioned steps.


–          Copy the Microsoft.IdentityModel.Clients.ActiveDirectory.dll  (version 1.0.5) from this link to Console folder (C:\Program Files\Microsoft System Center\Operations Manager\Console).

–          Try to configure your Log Analytics workspace connection and this time it will work.

–          Remove this ActiveDirectory dll from Console folder after Log Analytics configuration is done.

[Note]: If you will not delete Microsoft.IdentityModel.Clients.ActiveDirectory  from Console, then you will hit the above exception while adding subscription to Azure MP.

What is causing this exception?

This exception will only occur when you have Azure MP installed on your system.

The reason is both Azure MP and Advisor MP use different versions of Microsoft.IdentityModel.Clients.ActiveDirectory library.

When the intended version of this library isn’t found, Console throws FileNotFound exception