Azure Turn Off Virtual Machine action
Action that stops the specified Microsoft Azure Virtual Machine (VM).
Roles and availability
-
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.
-
Role requirements
This action requires roles granted by delegated development or assigned to the user. For more information, see User access to Flow Designer.
Cloud permission
To execute this action, the caller must have the Microsoft.Compute/virtualMachines/*/powerOff cloud permission.
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.
-
Credential Alias
Data type: Record
Credential alias for the AWS credential.
-
Location
Data type: String
Name of the datacenter.
-
Use MID
Data type: True/False
Selection to indicate whether to use a MID Server to make the outbound calls.
-
MID Server
Data type: Record
MID Server for making the outbound calls.
-
Gov Cloud
Data type: True/False
Not supported.
-
VM Identifier
Data type: String
URI of the VM resource.
Outputs
You can use these outputs as inputs for other actions.
-
Is Access Denied
Data type: True/False
Server authorization status of the call.
- True: The server has authorized the call
- False: The server didn't authorize the call
-
Error Message
Data type: String
Error message returned for the failed call.
-
Result
Data type: True/False
Status of the action.
- True: Successful
- False: Failed
-
Error Code
Data type: String
Client error code returned for the failed call.
Parent Topic:Cloud Action Library reference
---
title: Azure Turn Off Virtual Machine action
description: Action that stops the specified Microsoft Azure Virtual Machine \(VM\).
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/itom-cloud-accelerate/cal-azure-turn-off-virtual-machine.html
release: australia
product: ITOM Cloud Accelerate
classification: itom-cloud-accelerate
topic_type: reference
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Reference, Cloud Action Library, ITOM Cloud Accelerate, IT Operations Management]
---
# Azure Turn Off Virtual Machine action
Action that stops the specified Microsoft Azure Virtual Machine \(VM\).
## Roles and availability
- **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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/request-ih-overview.md).
- **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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/user-access-flow-designer.md).
## Cloud permission
To execute this action, the caller must have the **Microsoft.Compute/virtualMachines/\*/powerOff** cloud permission.
## 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.
- **Credential Alias**
Data type: **Record**
Credential alias for the AWS credential.
- **Location**
Data type: **String**
Name of the datacenter.
- **Use MID**
Data type: **True/False**
Selection to indicate whether to use a MID Server to make the outbound calls.
- **MID Server**
Data type: **Record**
MID Server for making the outbound calls.
- **Gov Cloud**
Data type: **True/False**
Not supported.
- **VM Identifier**
Data type: **String**
URI of the VM resource.
## Outputs
You can use these outputs as inputs for other actions.
- **Is Access Denied**
Data type: **True/False**
Server authorization status of the call.
- **True**: The server has authorized the call
- **False**: The server didn't authorize the call
- **Error Message**
Data type: **String**
Error message returned for the failed call.
- **Result**
Data type: **True/False**
Status of the action.
- **True**: Successful
- **False**: Failed
- **Error Code**
Data type: **String**
Client error code returned for the failed call.
**Parent Topic:**[Cloud Action Library reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-cloud-accelerate/cloud-action-library-reference.md)
| title | Azure Turn Off Virtual Machine action |
| description | Action that stops the specified Microsoft Azure Virtual Machine \(VM\). |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/it-operations-management/itom-cloud-accelerate/cal-azure-turn-off-virtual-machine.html |
| release | australia |
| product | ITOM Cloud Accelerate |
| classification | itom-cloud-accelerate |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | ReferenceCloud Action LibraryITOM Cloud AccelerateIT Operations Management |