Share via


Configuration Manager 1606 – OMS Connector (preview feature)

With ConfigMgr 1606, you can now connect Configuration Manager collections to the Microsoft Operations Management Suite (OMS) in Azure. The OMS Connector is currently a prerelease feature. As so, this is done in a lab. This blog will go through the steps on how to add the connector in ConfigMgr and the prerequisite steps to take in Azure.

This blog post assumes you have a running ConfigMgr 1606 environment and a subscription in Azure.

The first step is to configure your ConfigMgr 1606 site to consent to use Pre-Release features.Make sure you read the disclaimer.

https://brotechcm2012.files.wordpress.com/2016/07/oms1.jpg?w=640

After this is done, we will turn on the “Pre-release  Microsoft Operations Management Suite (OMS) Connector”.

https://brotechcm2012.files.wordpress.com/2016/07/oms2.jpg?w=640

Click Yes to the dialogue box (make sure to read the disclaimer).

https://brotechcm2012.files.wordpress.com/2016/07/oms3.jpg?w=387&h=188

Log in to the Azure Classic portal https://manage.windowsazure.com and go into your Azure AD to select Applications. Click on Add down the bottom.

https://brotechcm2012.files.wordpress.com/2016/07/oms4.jpg?w=640

Enter in the name you would like to use and select web application and/or web API and click Next.

https://brotechcm2012.files.wordpress.com/2016/07/oms5.jpg?w=403&h=288

Enter in sign on URL and APP ID URI. Added in a ConfigMgr server name (http://configmgr.domain.com) for both.

https://brotechcm2012.files.wordpress.com/2016/07/oms6.jpg?w=443&h=320

Next we will log into the Azure Resource Manager https://portal.azure.com and create our OMS Workspace. Click on Browse, go to “Log Analytics (OMS)” and then click on Add

https://brotechcm2012.files.wordpress.com/2016/07/oms7.jpg?w=640

Once this is created, we will go back in the Azure Classic Portal and go into our Azure AD then Application we created earlier to make a note of our Client ID and generate a key.

https://brotechcm2012.files.wordpress.com/2016/07/oms8.jpg?w=549&h=238https://brotechcm2012.files.wordpress.com/2016/07/oms9.jpg?w=526&h=243

Next we will create our connection to OMS back in the ConfigMgr console:

https://brotechcm2012.files.wordpress.com/2016/07/oms10.jpg?w=640

This is the part that TechNet did not tell us. The part with the red box around it is misleading. We actually need to give our application we created earlier access to our Resource Group in the Azure Resource Manager Portal (portal.azure.com). This is probably because Operation Insights was moved from Azure Classic Portal to Azure Resource Manager. Without doing this let's see what happens:

https://brotechcm2012.files.wordpress.com/2016/07/oms11.jpg?w=640

Type in a tenant name and Client ID and secret key from before, click Verify and then click Next.

https://brotechcm2012.files.wordpress.com/2016/07/oms12.jpg?w=640

ConfigMgr is unable to pull any information about the subscription or Resource Group or the OMS Workspace.

https://brotechcm2012.files.wordpress.com/2016/07/oms13.jpg?w=640

To fix this, we need to log back into https://portal.azure.com and go into our Resource Group with our OMS workspace and give our Application we created earlier access.

https://brotechcm2012.files.wordpress.com/2016/07/oms14.jpg?w=640

Go to Settings, then click Users.

https://brotechcm2012.files.wordpress.com/2016/07/oms15.jpg?w=640

Click on Add, and type in the name of the Application you created in the classic portal https://manage.windowsazure.com The one here is Contributor role for testing.

https://brotechcm2012.files.wordpress.com/2016/07/oms16.jpg?w=640

Now if we go back to try and add the Operations Management Suite Connection again. You will see that ConfigMgr can pull the information from our Resource Group and OMS Workspace.

https://brotechcm2012.files.wordpress.com/2016/07/oms17.jpg?w=640

There we go. This looks better! It pulled the information now that it has access.

https://brotechcm2012.files.wordpress.com/2016/07/oms18.jpg?w=640

https://brotechcm2012.files.wordpress.com/2016/07/oms19.jpg?w=640https://brotechcm2012.files.wordpress.com/2016/07/oms20.jpg?w=640

You can view the OMS Connector here. You can also right-click on it and go to properties to view the properties and add collections.

https://brotechcm2012.files.wordpress.com/2016/07/oms21.jpg?w=640

Once the connector is set up, it should install the Microsoft Monitoring Agent.

https://brotechcm2012.files.wordpress.com/2016/07/oms29.jpg?w=640

Next we will log into the Azure Resource Manager portal https://portal.azure.com and enable the ConfigMgr collections. Once you’re in the Azure portal, go to Log Analytics (OMS) and then click on OMS Portal

https://brotechcm2012.files.wordpress.com/2016/07/oms22.jpg?w=640

Once in the OMS Portal, go to Settings.

https://brotechcm2012.files.wordpress.com/2016/07/oms23.jpg?w=640

Go to the COMPUTER GROUPS tab, and click on SCCM, then click “Import Configuration Manager collection memberships” and Save.

https://brotechcm2012.files.wordpress.com/2016/07/oms261.jpg?w=640

After it updates you should see the collections (we added some more).

https://brotechcm2012.files.wordpress.com/2016/07/oms27.jpg?w=640

You can click on the links to view more information.

https://brotechcm2012.files.wordpress.com/2016/07/oms28.jpg?w=640