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

Add an Azure service account

During Cloud Provisioning Day 1 setup, you added one service account to the cloud account. To compartmentalize your infrastructure or to include different datacenters, you can add another service account. A particular datacenter, however, cannot be selected in more than one service account in a cloud account.

Before you begin

Role required: sn_cmp.cloud_admin

Procedure

  1. Open the Azure-Credentials.txt text file that you created during the Create a Microsoft Azure service principal procedure.

  2. Navigate to Cloud Admin Portal > Manage > Service Accounts.

  3. Click New, enter a unique and meaningful Name, and then fill in the form.

Image omitted: azure-copy-to-service-account.png
Paste the Azure Subscription ID value that you copied from the Azure Portal into the text file.
FieldDescription
Account ID

The Azure Subscription ID value that you copied from the Azure Portal into the text file.

See Discovery for Microsoft Azure to learn Management Groups subscription IDs.

Discovery credentialsName of the credentials that you created in the [Store the Azure service principal credentials in the instance]() procedure. In the example, you used the name `Azure service principal credentials`.
Datacenter URLURL of the datacenter.This field is required only for the government and regional accounts. Discovery and Service Mapping Patterns supports the US, Germany, and China Microsoft Azure government clouds.
Datacenter typeSelect Azure Datacenter.
Datacenter discovery statusAuto-generated value: Status and timestamp of the last execution of Discovery on the datacenter.
Should pull eventsOption to enable the ServiceNow AI Platform® to collect resource change information from the Microsoft Azure cloud. The ServiceNow AI Platform® uses the resource change information to update the Configuration Management Database \(CMDB\). For more information on the supported Azure resource types, see Azure change processing. If you select the Should pull events check box for a management group, the ServiceNow AI Platform enables Azure change processing for all the subscriptions in the management group.
  1. Click Update or Submit.

    The system creates the service account and displays the list of all discovered datacenters.

What to do next

After you complete all procedures in this initial "Day 1" setup, you can create additional cloud accounts and service accounts to organize and compartmentalize your cloud infrastructure.

Note:

If you are on a domain separated instance, only those events that are updated to the CMDB and belong to your domain are visible. Events create configuration items (CI) in the same domain as the cloud service account they are mapped to.

Related topics

Discovery for Microsoft Azure