แก้ไข

แชร์ผ่าน


What is the administration service in Configuration Manager?

Applies to: Configuration Manager (current branch)

The SMS Provider provides API interoperability access over HTTPS, called the administration service. The administration service is a representational state transfer (REST) API based on the Open Data (OData) v4 protocol.

The administration service currently has two layers or routes:

  • Administration service > WMI > SQL: https://<SMSProviderFQDN>/AdminService/wmi/<ClassName>

    The WMI route supports both GET and POST commands to over 700 classes.

  • Administration service > OData/SQL: https://<SMSProviderFQDN>/AdminService/v1.0/<ClassName>

    This versioned route (v1.0) supports new Configuration Manager functionality.

The <ClassName> value is a valid Configuration Manager class name. The administration service class names are case-sensitive. Make sure to use the proper capitalization. For example, SMS_Site.

Scenarios

Configuration Manager natively uses the administration service for the following features:

In addition, you can develop custom solutions with the administration service, for example:

Prerequisites

Configure the following prerequisites on the server that hosts the SMS Provider role:

  • In version 2006 and earlier, enable the Windows server role Web Server (IIS). Starting in version 2010, this role is no longer required.

  • Starting in version 2107, the SMS Provider requires .NET version 4.6.2, and version 4.8 is recommended. In version 2103 and earlier, this role requires .NET 4.5 or later. For more information, Site and site system prerequisites.

  • You may need to enable secure HTTPS communication with a trusted certificate. For more information, see Enable secure HTTPS communication.

To access the administration service, your user account needs to be an administrative user in Configuration Manager. If you access the administration service via a cloud management gateway, you need to have an account in Microsoft Entra ID.

For more information on scalability of the SMS Provider and administration service, see Size and scale numbers.

Note

For any machine with the Configuration Manager console, if it's using a proxy server, the console fails to connect to the administration service. For example, when trying to access the Security nodes, you may see errors that the administration service isn't enabled or available. The SmsAdminUI.log file shows errors such as, Failed to get a response for OData query.

To work around this issue, either remove the proxy configuration from the machine, or make the following configuration change:

  1. Manually edit the following XML file: C:\Program Files (x86)\Microsoft Endpoint Manager\AdminConsole\bin\Microsoft.ConfigurationManagement.exe.config

  2. Configure the <defaultproxy> behavior with one of the following options:

    1. Set enabled="false"
    2. Add the FQDN of the SMS Provider to the <bypasslist>.

    For more information, see <defaultProxy> Element (Network Settings).

Next steps