ServiceNow MidServer Install

1. MID Server Install on Windows Server

The full document can be found here.

1.1. Create the Mid Server user account

  1. Create the user account in SNow:

    2021-04-17 09_30_17-New Record _ User _ ServiceNow

  2. Edit the account and assign it the mid_server role:

    2021-04-17 09_41_07-Edit Members _ User Role _ ServiceNow

1.2. Create Service Account with the Log on as a Service right

The service account cannot be a local system or an administrator level account (local admin, domain admin, etc.)

The service account requires the log on as service right, which is required for an account to be used as the log on user for a service.

1.3. Create a domain service account

1.3.1. Grant the Log on as a Service right

  1. Run secpol.msc on the mid server.

  2. Navigate to Local Policies  User Rights Assignment  Log on as a service.

    2021-04-17 11_05_50-v-Serv2019-MID

  3. Add the service account to this policy.

1.4. Install

  1. Download the installer from here.

    You’ll need to modify this link to point to your specific ServiceNow Instance

    2021-04-19_11-31-27

  2. Start a command window as administrator and execute the downloaded .msi installer:

    2021-04-17 09_50_15-v-Serv2019-MID

  3. Provide the ServiceNow instance URL and user name/password info:

    2021-04-17 09_48_58-v-Serv2019-MID

    …​and then click the Test Your Connection button:

    2021-04-17 09_58_58-v-Serv2019-MID

  4. Provide the domain service account user name and password.

    2021-04-17 10_18_01-v-Serv2019-MID

  5. Click the Set Service Name Manually check box:

    2021-04-17 10_18_15-v-Serv2019-MID

    …​and then click the Validate MID Service Settings button.

    2021-04-17 11_06_34-v-Serv2019-MID

  6. Select the Start MID Server after installation check box:

    2021-04-17 12_07_51-Clipboard

1.5. Validate

  1. In the SNow instance, navigate to Mid Server Configuration  MID Servers:

    2021-04-17 12_20_49-MID Servers _ ServiceNow

    …​Notice that the MID server exists but is not yet validated.

  2. Open the MID Server and click the Validate link:

    2021-04-17 12_26_02-v-Serv2019-MID _ MID Server _ ServiceNow

    The server will now be validated:

    2021-04-19_8-21-37

    Additionally the list view indicates validation of the MID Server:

    2021-04-17 12_55_32-MID Servers _ ServiceNow

2. Configure Discovery

First, we’ll need to install two plugins which can be installed from the [developer website](https://developer.servicenow.com/dev.do). After you login, click your account icon in the upper right-hand corner. This will result in menu. Click on the Activate Plugin link. Now you can activate the following two plugins from the plugin menu:

  1. Discovery -this will take a while

  2. Credentials