---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Add an Azure public image to Cloud Provisioning and Governance

# Add an Azure public image to Cloud Provisioning and Governance {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

You can make any Azure image selectable in an OS
profile.

## Before you begin

Role required: sn_cmp.cloud_admin

## Procedure

1. In the Azure command-line interface (CLI), make note of the values of the Offer, Publisher, Sku, and Version.  
   On the command line, you can search by offer or by publisher or by both, as
   shown in the example. Each line item is an image of a particular version of
   CentOS from OpenLogic.  
   You can use the following sample command on the CLI - `az vm image
   list -f Windows --output table` to fetch the values.
2. On the instance, enter <kbd class="ph userinput">cmdb_ci_os_template.list</kbd> in the Filter navigator text box to open the Images \[cmdb_ci_os_template\] table and then click New.
3. Configure the form layout to show Offer, Serial number, Version, and Vendor.
4. On the Image form, enter the following values:  
   {#add-public-image-azure__table_hpm_hk3_qcb__entry__2}

   | Field | Value |
   |-|-|
   | Object ID | Enter <kbd class="ph userinput">/publisher/offer/sku/version</kbd>. You can get these values from the Azure CLI. As an example, <kbd class="ph userinput">/OpenLogic/CentOS/6.5/6.5.201501</kbd>. |
   | Name | Meaningful name that represents the version of the OS. <kbd class="ph userinput">CentOS 6.5</kbd> in the example. |
   | Guest OS | Operating system. |
   | Offer | Offer value from Azure. |
   | Serial Number | Sku value from Azure. |
   | Version | Version value from Azure. |
   | Vendor | 1. Click the magnifying glass and then click New. 2. In the Name field, enter the Publisher value from Azure. 3. Click Submit. {#add-public-image-azure__ol_o24_kv4_qcb} |
   [ ]

   {#add-public-image-azure__table_hpm_hk3_qcb}
5. On the Credentials field, click the magnifying glass and then click New on the Credentials page.
6. In the list, click Basic Auth Credentials.
7. On the Basic Auth Credentials form, enter a meaningful Name for the credential.
8. Enter a User name and Password to use for instances that are provisioned from this image.
9. Click Submit to close the Basic Auth Credentials form.
10. Right-click in the header and select Save to save the current configuration of the new image record.  
    In the Related Items list, you can see that the image is associated with the specified datacenter.
11. Click Update to make the public image selectable in an OS profile.  
    This step also creates a relationship between the public image and the logical datacenter (LDC) in the CMDB.

