SQL MP Debug Logging – On/Off with a Simple Agent Task
Sometimes you need to activate SQL Management Pack debugging. The SCOM product group makes it relatively easy; by creating a registry key to instantly begin writing debug information to the Operations Manager event log. ‘HKLM:\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\SQL Management Packs\EnableEvtLogDebugOutput\SQL Server MP’ To make things even easier, here are two tasks: Enable: Disable Logging should begin …. Read More
Cleaning old health state change data made easy
The SCOM Maintenance MP that I published in 2022 made purging discovery data and config synch effortless. Newly added to the MP are the following agent tasks: State change history is recorded for every monitored object when the health state for any monitor changes between Healthy, Warning, and Critical. If the object is in an …. Read More
Detected malicious verification code error
Detected malicious verification code when verifying element of type Microsoft.EnterpriseManagement.Configuration.ManagementPackRule with inner exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary When building a management pack in Visual Studio you may run into this very ambiguous error shown below. This can happen for a number of reasons Summary I should have used the …. Read More
Graph API healthOverviews 403 Forbidden
Heading I use the M365 Services Supplemental Monitoring management pack in my lab. I recently noticed that calls to:https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/healthOverviews within my application have been failing with “403 Forbidden“. A few other folks that I know started seeing the same problem. Nothing had changed on our ends, we all checked absolutely everything. All other Graph calls …. Read More
Visual Studio New SCOM Management Pack Project HRESULT: 0x80041FE1
If Visual Studio doesn’t have the necessary components installed, VS may fail to open your management pack project. Here’s an example of a failure when creating a new SCOM management pack. The ActivityLog.xml shows some interesting entries… C:\Users\typaul\AppData\Roaming\Microsoft\VisualStudio\17.0_56cc09fb Notice all the failures related to “Modeling.Sdk“ Solution Launch the Installer to modify the VS 2022 installation …. Read More
Workflow Analyzer (v2) for SCOM
Workflow Analyzer v2 for SCOM has arrived and it’s better than ever.