Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Configure Microsoft Endpoint Configuration Manager and set up the spoke

Follow the Microsoft Endpoint Configuration Manager configuration procedures in the order shown.

Note: Ensure that user must be able to establish remote PowerShell sessions with the MECM server. The spoke scripts use Microsoft.PowerShell32 configuration for creating sessions. For user permissions, see User permissions in Microsoft Learn.

Configure the Application Administrator role on the Microsoft Endpoint Configuration Manager server

Ensure that the Microsoft Endpoint Configuration Manager administrative user has the correct permissions to deploy software and that PowerShell is properly configured.

Before you begin

Role required: Microsoft Endpoint Configuration Manager Application Administrator

About this task

These instructions are for Microsoft Windows Server 2016 Standard.

Procedure

  1. In the Microsoft Endpoint Configuration Manager console, navigate to Administration > Security > Administrative Users.

  2. Right-click the user to whom you want to grant the Application Administrator role.

  3. Select Properties from the drop-down menu.

  4. In the Properties dialog box, select the Security Roles tab.

  5. Ensure that the user has the Application Administrator role.

  6. If the user does not already have this role, click Add, select this role from the list, and click OK.

Image omitted: SCCMConsole.png
Granting the deployment role on the Microsoft Endpoint Configuration Manager server.
  1. Log into Microsoft Endpoint Configuration Manager as the user with the Application Administrator role.

  2. Open the menu from the upper left corner of the console and select Connect via Windows PowerShell.

Image omitted: ConnectSCCMviaPowerShell.png
Connect to PowerShell.
  1. Ensure that the user can access the CM console.

    This action establishes the environment path to PowerShell for the logged in Application Administrator user.

Update the Microsoft Endpoint Configuration Manager cmdlet libraries

Ensure that the Microsoft Endpoint Configuration Manager Cmdlet Library is up-to-date.

Before you begin

Role required: Either Microsoft Endpoint Configuration Manager current user or system administrator, depending on settings.

About this task

The Microsoft Endpoint Configuration Manager Cmdlet Library installs and updates the Windows PowerShell module. Microsoft Endpoint Configuration Manager checks for library updates on a daily basis. Out-of-date libraries can cause Discovery of the Microsoft Endpoint Configuration Manager server to fail, because the system cannot parse the Microsoft Endpoint Configuration Manager activity output. This is an example warning message.

WARNING: An update to the 
            Microsoft Endpoint Configuration Manager Cmdlet
Library is available. Please go to
'http://go.microsoft.com/fwlink/?LinkId=528947' to download the latest version.
Running cmdlet version: 5.0.8231.1004 Latest cmdlet version: 5.0.8328.1155

Download the latest version of the cmdlet library from http://go.microsoft.com/fwlink/?LinkId=528947. For installation instructions, see https://technet.microsoft.com/en-us/library/dn958404(v=sc.20).aspx.

If you elect to use an earlier version library, use this procedure to disable the CM update check, which allows Discovery to proceed without issues.

Procedure

  1. Log in to the Microsoft Endpoint Configuration Manager console as an administrator.

  2. Open the menu from the upper left corner of the console.

  3. Select Connect via Windows PowerShell.

  4. Run one of these commands to disable the update check:

    • Per-user: Set-CMCmdletUpdateCheck -CurrentUser -IsUpdateCheckEnabled 0
    • Per-system: Set-CMCmdletUpdateCheck -System -IsUpdateCheckEnabled 0 Important: The per-system cmdlet must run in an elevated Windows PowerShell session.
  5. Run the Get-CMCmdletUpdateCheck command to refresh the console and check the settings.

  6. Ensure that the value of the IsEnabled configuration variable has changed to False.

    This indicates that the warning for an out of date cmdlet library is disabled for the users specified.

  7. To re-enable the update check, run the -IsUpdateCheckEnabled 1 command for either the current user or for the system.

Set up the Microsoft Endpoint Configuration Manager spoke

Integrate the ServiceNow instance and Microsoft Endpoint Configuration Manager account using the PowerShell and JDBC credentials to authenticate ServiceNow requests.

Before you begin

  • Request an Integration Hub subscription.
  • Activate the Microsoft Endpoint Configuration Manager spoke.
  • Role required: admin.

Procedure

  1. Configure the default connection and credential alias to authenticate requests.

    1. Navigate to Connections & Credentials > Connection & Credential Aliases.

    2. Open the record Microsoft Endpoint Configuration Spoke.

    3. Click the Create New Connection & Credential related link.

    4. On the form, fill these values.

      FieldDescription
      Server Instance NameName of the Microsoft Endpoint Configuration Manager server.
      HostProvider domain name.
      Credential NameName to identify the credential record.
      User NameUser name to log in to the Microsoft Endpoint Configuration Manager server.
      PasswordPassword to log in to the Microsoft Endpoint Configuration Manager server.
    5. Click Create.

  2. To use the two advanced actions, Look up Device Collections Stream (Database) and Look up User Collections Stream (Database), configure the JDBC credential.

    Note: If you are using the Microsoft Endpoint Configuration Manager spoke with Client Software Distribution 2.0 application, you must configure the JDBC credential.

    1. Navigate to Connections & Credentials > Credentials.

    2. Open the record Microsoft Endpoint Configuration JDBC.

    3. Click the Create New Connection & Credential related link.

    4. On the form, fill these values.

      FieldDescription
      Connection NameName to identify the JDBC connection record. For example, JDBC Connection.
      HostHost name or IP address of the database server.
      Database nameName of the database.
      Credential NameName to identify the connection record. For example, JDBC Credentials.
      User nameUser name to log in to the JDBC database. Ensure that the user role is at least public with db_datareader.
      PasswordPassword to log in to the JDBC database.
    5. Click Create.

      If the MecmConnector jar is not present on the MID Server, restart the MID server so that the jar file gets synchronised from the instance to the MID server.

What to do next

To use the Microsoft Endpoint Configuration Manager spoke with Client Software Distribution 2.0 application, see CSD 2.0 for Microsoft Endpoint Configuration Manager.

Create a connection and credential record for the Microsoft Endpoint Configuration Manager spoke REST actions

Create a connection record for your Microsoft Endpoint Configuration Manager. The Microsoft Endpoint Configuration Manager connection and credential aliases use these connections to perform actions in Microsoft Endpoint Configuration Manager.

Before you begin

  • To get the Realm value from the Microsoft Endpoint Configuration Manager server, do the following:

    1. Open Programs > Administrative Tools > Active Directory Management.
    2. Select Active Directory Domains and Trusts.

      The Active Directory domain names are listed. The Active Directory domain name is also the related Kerberos realm name and DNS domain name. Select the domain that you want to use for integration.

  • After getting Realm details, run the following command from the Command Line to get the Key Distribution Center value.

    nslookup -type=srv _kerberos._tcp.<REALM_NAME_IN_UPPER_CASE>

    Copy the svr hostname value from the list and use it as the Key Distribution Center value.

  • Role required: admin.

Procedure

  1. Navigate to All > Connections & Credentials > Connections & Credentials Aliases.

  2. Open the alias record for Microsoft Endpoint Configuration REST.

  3. From the Related Links tab, click Create New Connection & Credential.

  4. On the form, fill these fields.

FieldDescription
Connection NameName to uniquely identify the connection. For example, `MS Endpoint Configuration Manager REST Connection`.
Connection URLBase URL to connect to Microsoft Endpoint Configuration Manager. Enter: https://<computer_name>.com
Credential NameCredential record created for Microsoft Endpoint Configuration Manager. For example, `MS Endpoint Configuration Manager Cred`.
User NameUser name to connect to your Microsoft Endpoint Configuration Manager account.Note: You must provide the user name without prefixing with the domain name.
PasswordPassword to connect to your Microsoft Endpoint Configuration Manager account.
Key Distribution CenterKey distribution center of the Microsoft Endpoint Configuration Manager server.
RealmActive Directory domain name in uppercase from the Microsoft Endpoint Configuration Manager server. For example, `OPS.LAB3.EXAMPLE.COM`
**Note:** If either Key Distribution Center or Realm values is changed in the credential record, make sure to restart the MID server to sync the update. Because Key Distribution Center and Realm values are set as JRE properties on MID server.
  1. Click Submit.

What to do next

Before using any REST based actions, make sure the MID JAR file, MecmConnector, is present at <MID Folder>\agent\extlib on MID server.