QuaeNocentDocent / OMS-ManagementPack

A monitoring OpsMgr management pack to extend Azure Monitoring
GNU General Public License v2.0
6 stars 5 forks source link

Issue with ADAL and the QND.Azure.Monitor #34

Closed K31D closed 4 years ago

K31D commented 5 years ago

Depending on how the ADAL dlls are loaded some monitors throw errors such as: Cannot get Azure AD connection aborting Cannot find type [Microsoft.IdentityModel.Clients.ActiveDirectory.UserCredential]: verify that the assembly containing this type is loaded. Version :1.0

As far as we know just for the QND.Azure.Monitor.mp the first Microsoft.IdentityModel.Clients.ActiveDirectory.UserCredential.dll that resides in the Agent Caches under Resources is loaded. In some cases, for istance after updating an MP, the first dll (a very old 2.0.0.x ) was loaded while in your MP you need at least 2.14.0.0 In the MPM there's the function to download a newer version but in the MP it's never called.