--- title: Create a serverless schedule for Microsoft CA discovery description: Create a serverless discovery schedule to discover Microsoft Certificate Authority \(CA\) certificates. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery-and-service-mapping-patterns/create-serverless-schedule-ms-ca.html release: australia product: Discovery and Service Mapping Patterns classification: discovery-and-service-mapping-patterns topic_type: task last_updated: "2026-03-12" reading_time_minutes: 3 breadcrumb: [Microsoft CA certificates, Available on-premise discovery patterns, Discovery patterns used by ITOM Visibility, ITOM Visibility, IT Operations Management] --- # Create a serverless schedule for Microsoft CA discovery Create a serverless discovery schedule to discover Microsoft Certificate Authority \(CA\) certificates. ## Before you begin - Verify that the CA process is up and running on the host machine. - Verify that a Windows host was discovered during a previous horizontal discovery. For more information, see [Windows discovery](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/r_DataCollDiscoWindowsComputers.md). Role required: discovery\_admin ## Procedure 1. Navigate to **All** > **Discovery** > **Discovery Schedules**. 2. Create the discovery schedule record. 1. Select **New**. 2. On the form, fill in the fields.
| Field | Description |
|---|---|
| Name | Unique name for this discovery schedule. For example: Discover MS CA. |
| Discover | Scan type, which should be Certificates. |
| Certificate Discovery Type | Certificate type, which should be CA Trust Discovery. |
| MID server | Name of the MID Server to use for this schedule. |
| Active | Enables this schedule for discovery. |
| Field | Description |
|---|---|
| Name | Descriptive name for this record. For example: Discover MS CA. |
| Pattern | Pattern to be used for this schedule, which should be the Microsoft CA - Certificate Management pattern. |
| Proxy Host | CI name of the Windows host running the Microsoft CA Service, discovered in a previous discovery and populated in the CMDB. |
| Active | Option to enable this schedule for discovery. |
| Parameter | Description |
|---|---|
| template\_list | Determines whether to search on all the request IDs or a template ID to discover certificates. Possible values are **all** or the template ID number.- all: Restricts discovery to all certificate request IDs in ascending order. The request IDs are limited either by the default execution pattern limitation of 20,000 or values set in **start\_offset** or **limit**. - Template ID: Searches for certificates only in the specific template ID. Can be a single template ID or multiple IDs, separated by commas. For example: 1.2.3.4,5.6.7.8,9.10.11.12 |
| start\_offset | This optional parameter specifies the number of the certificate from which to start discovery and is relevant only when **template\_list** is set to all and for deployments with over 20,000 certificates. If you create multiple serverless execution patterns for deployments with over 20,000 certificates, use 1 for the first execution, 20001 for the second, and so on. If this parameter remains empty, **start\_offset** defaults to 1. |
| limit | This optional parameter limits the certificate discovery to the specified value and is relevant only when **template\_list** is set to all. If the parameter remains empty, the limit defaults to 20,000 certificates. |
| ip | IP of the server on which the CA process \(certsrv\) is running. |
| discover\_SAN\_for\_template | When set to true, this optional parameter enables the discovery of the subject alternative name \(SAN\) of the certificates when a template ID is provided in the **template\_list** parameter.This parameter executes separate commands for each certificate within the template ID, which could impact performance. When searching on all request IDs, SAN is automatically discovered, so this parameter should remain empty. |