You can connect your SCCM environment to Azure Log Analytics (OMS) to sync device collection data. The SCCM OMS connection helps to create reference the device collections in Log Analytics and Azure Automation. In this video tutorial, you will see how to configure SCCM Azure Log Analytics.

Step by Step SCCM Azure Log Analytics Integration
With the above video guide, I will help you to integrate SCCM and Azure Log Analytics. The following steps will help you to understand the process of connecting SCCM with OMS (Azure Log Analytics).
Something you need to take care before integrating SCCM Azure Log Analytics (SCCM and OMS). Microsoft announced Desktop Analytics integration with SCCM. So make sure the roadmap of OMS connection with SCCM is still required or not.
- Login to the Azure portal with appropriate access rights to integrate SCCM with Log Analytics.
- In the Azure portal, register SCCM as a Web Application and/or Web API app, and ensure that you have the client ID and client secret key from the registration from Azure AD. See Use portal to create an Azure AD application and service principal that can access resources for detailed information about how to accomplish this step.
- In the Azure portal, grant SCCM (the registered web app) with permission to access Log Analytics.
- In SCCM console, add a connection using the Add OMS Connection Wizard.
- In SCCM, update the connection properties if the password or client secret key ever expires or is lost.
- Download and install the Microsoft Monitoring Agent on the computer running the SCCM service connection point site system role. The agent sends SCCM data to the Log Analytics workspace.
- In Log Analytics, import collections from SCCM as computer groups.
- In Log Analytics, view data from SCCM as computer groups.
- You can read more about connecting SCCM to Log Analytics at Sync data from SCCM to the Microsoft Log Analytics.
Resources
- SCCM OMS Connector Setup Log Analytics Connector
- Connect SCCM with OMS (Azure Log Analytics)
- Connect SCOM to Log Analytics
- How to Delete Azure AD Devices – AAD Device Management