---
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


---

# CAL - Azure List VMs action

# CAL - Azure List VMs action {#ariaid-title1}

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

Action that returns the list of Microsoft Azure Virtual Machines (VM) that belong to the specified logical datacenter.

## Roles and availability {#cal-azure-list-vms__section_mvm_tlj_gtb}

Subscription requirements
:   To use this action in custom flows, you must obtain an Integration Hub Enterprise subscription or an App Engine subscription. For more information, see [Request Integration Hub](https://www.servicenow.com/docs/access?context=request-ih-overview&version=yokohama&pubname=yokohama-integrate-applications&ft:locale=en-US).

Role requirements
:   This action requires roles granted by delegated development or assigned to
    the user. For more information, see [User access to Flow
    Designer](https://www.servicenow.com/docs/access?context=user-access-flow-designer&version=yokohama&pubname=yokohama-build-workflows&ft:locale=en-US).

## Cloud permission {#cal-azure-list-vms__section_rfr_z1r_jtb}

To execute this action, the caller must have the
Microsoft.ResourceGraph/resources cloud permission.

## Inputs {#cal-azure-list-vms__section-inputs}

Provide a value for each input that your action needs. To add
dynamic values, you can also select data pills using the pill picker.{#cal-azure-list-vms__inputs-description}

Location
:   Data type: String

    Name of the datacenter.

Version
:   Data type: String

    Version of the Microsoft Azure API.

Credential Alias
:   Data type: Record

    Credential alias for the Microsoft Azure credential.

Limit
:   Data type: Integer

    Number of pages to return per
    call.

Next Token
:   Data type: String

    Starting page token.

Filters
:   Data type: Object

    A filter name and value pair that
    is used to return a specific list of results from the
    describe operation. Filters can be used to match a set of
    resources based on criteria such as tags, attributes, or
    IDs.

Use MID
:   Data type: True/False

    Selection to indicate whether to
    use a MID Server to make the outbound
    calls.

Account Id
:   Data type: String

    Microsoft Azure account
    ID.

## Outputs {#cal-azure-list-vms__section-outputs}

You can use these outputs as inputs for other
actions.{#cal-azure-list-vms__outputs-description}

Result
:   Data type: Object

    A complex object containing information
    about the VMs hosted on the specified logical datacenter.

