Installing SCOM 2019 fails with “Error: :PopulateUserRoles: failed”

Background I recently came across a scenario where installing SCOM 2019 fails shortly after the Operational database configuration step, specifically during the Populating User Roles sequence. The installation account used is a member of the sysadmin SQL role and SQL server is configured to run with native security, so this behavior was not expected. Investigating … Continue reading Installing SCOM 2019 fails with “Error: :PopulateUserRoles: failed”

SCOM Effective Monitoring Configuration – Decoded

Since the advent of SCOM, one question that lingers among the admins and the end consumers is What is the effective monitoring configuration for a server or an object or an alert? Microsoft answered with Export-SCOMEffectiveMonitoringConfiguration PS Cmdlet which you can use to get effective config for an Instance (Object). This will export the data … Continue reading SCOM Effective Monitoring Configuration – Decoded

Use Azure Automation to install and configure the Log Analytics extension

In this post, I'll show how you can use an Azure Automation runbook to deploy and configure the Log Analytics extension to a group of virtual machines running either Windows or Linux. In case you're not familiar with creating a runbook, you can get started using the instructions here. Before we get started with the … Continue reading Use Azure Automation to install and configure the Log Analytics extension

SCOM DB Fragmentation Issue

Sometimes SCOM environments slowness is occurring because of SQL fragmented indexes. Fragmentation happens when the logical order of pages in an index does not match the physical order in the data file. Because fragmentation can affect the performance of some queries, you need to monitor the fragmentation level of your indexes and, if required, perform … Continue reading SCOM DB Fragmentation Issue

Disable SCOM management pack on a group of agents

One of the advantages of the SCOM system is the accompanying Management Packs, these packages give us the ability to easily monitor all the system components automatically, but the monitoring by default is on all agents, what to do when you want to disable monitoring on some of the server group / Agents, for example, … Continue reading Disable SCOM management pack on a group of agents