Microsoft SCCM (MECM)
Import device inventory, installed software and missing updates from Microsoft Configuration Manager
The Microsoft SCCM connector reads the Microsoft Configuration Manager (SCCM, MECM) site database to import into OverView the device inventory, the software installed on each device and the software updates they are missing.
Objective
The Microsoft SCCM connector retrieves the following information:
- Devices known to Configuration Manager, with or without a client installed
- Hardware inventory: manufacturer, model, serial number, operating system and network interfaces
- Installed software on each device
- Missing software updates, imported as vulnerabilities with their KB identifier and severity
- Primary users and last logged-on users
Hardware and software inventory follows the client settings of your site: an inventory class that Configuration Manager does not collect is absent from the import.
Prerequisites
- An OverView OutPost deployed in your network and a TCP flow allowed from the OutPost VM to the SQL Server hosting the site database (port
1433by default) - An account allowed to create a login on this SQL Server and a user in the site database
- For a SQL login: the SQL Server configured in SQL Server and Windows Authentication mode
Information to provide in OverView
| Field | Description |
|---|---|
| SQL Server | Name or address of the SQL Server hosting the site database, followed by the port when it differs from 1433. E.g. sccm-sql.corp.local or sccm-sql.corp.local:14330 |
| Database | Name of the site database, in the form CM_<SiteCode>. E.g. CM_PS1 |
| SQL Username | Read-only SQL login created in the procedure below, or a Windows account in the DOMAIN\user format |
| SQL Password | Password of this account |
Procedure
Identify the site database
- In the Configuration Manager console, open the Administration workspace, expand Site Configuration and select Servers and Site System Roles.
- Find the server holding the Site database server role: it is the SQL Server to enter in OverView.
- On this SQL Server, the following query lists the site databases:
SELECT name FROM sys.databases WHERE name LIKE 'CM[_]%';
For a named SQL instance, enter the TCP port of the instance rather than its name (host:port), and allow this port from the OutPost VM.
Create the read-only account
The connector needs an account dedicated to OverView, with read-only access to the site database. Run the following script on the SQL Server, for example from SQL Server Management Studio, replacing CM_PS1 with the name of your site database and the password with a value that meets your policy:
CREATE LOGIN [overview_sccm] WITH PASSWORD = '<password>';
GO
USE [CM_PS1];
GO
CREATE USER [overview_sccm] FOR LOGIN [overview_sccm];
ALTER ROLE db_datareader ADD MEMBER [overview_sccm];
GO
For a Windows service account, replace the first statement with CREATE LOGIN [DOMAIN\svc-overview] FROM WINDOWS; and use this name in the next two statements.
Allow the flow from the OutPost
Add a rule allowing the OutPost VM to reach the SQL Server:
| Source | Destination | Port | Action |
|---|---|---|---|
| OutPost VM IP | SQL Server IP | 1433/tcp, or the instance port | ALLOW |
Configure the connector in OverView
- In OverView, go to Data Sources Settings > Sources.
- Select Microsoft SCCM and click Configure.
- Choose your OutPost as the collection point.
- Enter the SQL Server, the Database, the SQL Username and the SQL Password.
- Click Save Configuration.
Required permissions
The connector is read-only: it only runs read queries on the SQL views of the site database, and changes nothing in Configuration Manager. No Configuration Manager administrative role is needed.
| Setting | Value | Use |
|---|---|---|
| Database role | db_datareader on CM_<SiteCode> | Read the inventory, software and update compliance views |
Alternative: file import through DropPoint
The API access described above is the recommended method for this connector. Where it is not available (a segregated network, a version or licence without API, an export you already produce), OverView accepts file exports, to be uploaded to the bucket dedicated to Microsoft SCCM.
Bucket : s3://sccm/
Example : s3://sccm/export.csv
The procedure is described in the OverView DropPoint guide: generating credentials, configuring the client, then sending files from the OverView web interface, the AWS CLI or an SDK. Its examples come pre-filled with this bucket when you follow this link.