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
SQL Always On Availability Group Listener monitoring management pack
New! 2023.06.22: Now supports Distributed Network Names (DNN)! Make sure you have the newest version. Version History: Download: Requirements: Discovery This MP contains a single discovery workflow which targets the MSSQL on Windows: Local DB Engine class and uses two PowerShell modules. The first module will query the SQL instance to obtain information about all …. Read More
Configure default schema for SCOM management pack fragments in Visual Studio / VSAE
If you’ve ever used Visual Studio with the Visual Studio Authoring Extensions (VSAE) for authoring a management pack for SCOM you have likely run into the annoying problem where VS forgets how to identify the schema for SCOM stuff which causes Intellisense to fail. I can’t explain why it sometimes will or won’t auto load …. Read More
Reset SCOM Object Health and Alerts Task
Newly added to the SCOMAgentHelper management pack is a task that is capable of: In the example below you can see the Exchange Online service object has alerts generated from both a rule and a monitor. The task parameter, “ResetMontitorHealth”, is true and therefore will reset the health of the eligible monitors for the instance. …. Read More
SCOM Console Web Page View: index of all rules and monitors with knowledge articles
Required: Create a new Rule. Create a new MP with name: “IndexOfWorkflowKnowledge” Rule Name: GenerateWorkflowIndex Timed PowerShell Script RuleRule Target: Management ServerRule is not enabled. Override: ENABLE for one specific mgmt server to start with, the one you connect to with your Console. Add additional mgmt servers if needed. Create a new Web Page View …. Read More
Microsoft.SQLServer.Windows.Monitoring SQL Queries (v7.0.42.0)
Now that the SQL management packs rely heavily on DLLs it’s not easy to determine what the workflows are doing or how they do it. These are the queries used for many of the workflows within this management pack.
Microsoft.SQLServer.Windows.Discovery SQL Queries (v7.0.42.0)
Now that the SQL maagement packs rely heavily on DLLs it’s not easy to determine what the workflows are doing or how they do it. These are the queries used for many of the workflows within this management pack.
Microsoft.SQLServer.Windows.Monitoring SQL Queries (v7.0.38.0)
Now that the SQL management packs rely heavily on DLLs it’s not easy to determine what the workflows are doing or how they do it. These are the queries used for many of the workflows within this management pack.