+44 800 3029280 info@PowerONPlatforms.com Contact Us

Connector to OMS in ConfigMgr 1606 Release

Microsoft are adding features all the time these days and with the latest System Center Configuration Manager 1606 release one of these is a connector to Operations Management Suite (OMS). Official guidance for data syncing can easily be found on the Microsoft website.

What is Operations Management Suite (OMS)?

OMS for those that might not be aware is a collection of online management tools from Microsoft and one of these (that the connector is for) is Log Analytics.

Log Analytics is a ingestion point for logs (event, syslog, IIS, custom) and performance metrics from Windows and Linux devices, no matter where they live (on-premises or cloud hosted) that can then be used for analysis of that data or to provide insights through different solutions.

One of the newer features of OMS is Groups, which not only helps with filtering of log queries, but has the potential moving forward to open up lots of other scenarios.

What is Configuration Manager (ConfigMgr or SCCM)?

Configuration Manager is Microsoft’s Configuration Management and Deployment tool with everything from Application Deployment, Operating System Deployment, Mobile Device Management through to Patching (plus a gazillion other capabilities!).

Configuration Manager (ConfigMgr) has a feature known as collections that allow you to group devices together (Starting the see the link here?) either manually or dynamically based on the Inventory discovery information it has about those devices.

The 1606 release for ConfigMgr brings a new connector in that allows for collections that you specify and their membership to be pushed across into OMS, allowing for work that you may already have done in terms of grouping via collections for things like patch management not to be re-hashed again from scratch in OMS.

How is the OMS Connector Setup?

Configuring the Cloud side first

Before you create the connector inside ConfigMgr, there’s a few steps that have to be performed first in the Cloud.

Login first to the “Classic” portal

  1. Scroll down the resource providers to find Azure Active Directory
  2. Select your subscription.
  3. Click Applications from the selections at the top
  4. Click Add at the bottom
  5. Choose “Add an application my organisation is developing”

Add an AzureAD Application

On the first screen, give a descriptive name for this application (ConfigMgr OMS Connector or similar), select the type as “Web Application and/or Web API” and proceed to the second screen.

Add Azure App - Name

On the second screen, some dummy information needs to be entered. We’re not going to establish a connection back into the environment so these URL’s & URI’s are irrelevant.

Add Azure App - URL

After adding the application, if not already in that application, select it from your list of applications and click on the Configure option at the top.

Configure AzureAD App

Then scroll down and select a duration for the key that we will use inside ConfigMgr. Make a note of this expiration date so you can remember to renew it!
N.B. The key will be made visible after you click save. Grab it and note it securely somewhere as this will only be shown the once!

You should also take a copy of the Client ID shown as you require this when creating the connector inside ConfigMgr.

Configure AzureAD App - Keys

Once you’ve add the app and made a note of the keys, we need to grant access to the app to OMS. This isn’t done in the classic portal, you do this via the new Azure Resource Manager (ARM) portal.

Head over to: https://portal.azure.com

  1. Find the Resource Group housing your OMS Log Analytics workspace
  2. Open the Resource Group settings
  3. Navigate to Users
  4. Click Add
  5. Select the “Contributor” role (N.B. I have not yet confirmed the exact level of rights required)
  6. Search for the Azure AD App you just created
  7. Select that app
  8. Click ok to add the access to the Resource Group

Azure RMS Resource Group Permissions



Setting up the OMS Connector in Configuration Manager

That’s the Cloudy side setup done, next we can add the connector inside Configuration Manager.

In the ConfigMgr console:

  1. Navigate to Administration
  2. Expand Cloud Services
  3. Click on OMS Connector
  4. Click on “Create connection to Operations Management Suite”
  5. Review the General page and click Next

OMS Connector

Now you’ll need to enter the details of your Azure AD tenant (The name) and the Client ID and Key from the Azure AD Application created previously then click Verify to ensure the details are correct and finally click Next.

OMS Connector - Azure AD Details

If everything is setup correctly (and most importantly the permissions on the Resource Group holding your OMS workspace) then the details should be populated with your Azure subscription and OMS workspace details.

Click Add and select the ConfigMgr collections you want to push into OMS and then click Next.

OMS Connector - Collections

The final couple of screens just allow you to review the settings before creation and the results after creation. Click Next then Close

OMS Connector - SummaryOMS Connector - Review

Once the OMS Connector has been created, you will need to wait some time for the data to be ingested into OMS.

Once the data has been ingested, you should see a new category of “SCCM” under the Groups section of the OMS Settings.

OMS Connector - SCCM Groups

Ticking the option for “Import Configuration Manager collection memberships” will then pull across those collections specified in the connector.

Running the following query will show you the collections and their membership count.

Type=ComputerGroup (GroupSource=”SCCM”) | measure count() by Group

OMS Connector - SCCM Group Count Query

Enjoy exploring this new feature and expect another post to follow up on this post with areas that can be utilised with this data.


Steve Beaumont
PowerON Director & MVP

Leave a Reply

Your email address will not be published. Required fields are marked *