Azure Automation
Azure Automation provides tools to manage your cloud and on-premises infrastructure seamlessly.
This connector is available in the following products and regions:
| Service | Class | Regions |
|---|---|---|
| Copilot Studio | Premium | All Power Automate regions |
| Logic Apps | Standard | All Logic Apps regions |
| Power Apps | Premium | All Power Apps regions |
| Power Automate | Premium | All Power Automate regions |
| Contact | |
|---|---|
| Name | Azure Automation |
| URL | https://learn.microsoft.com/en-us/connectors/azureautomation/ |
| idcknowledgeeco@microsoft.com |
| Connector Metadata | |
|---|---|
| Publisher | Microsoft |
| Website | https://azure.microsoft.com/services/automation/ |
| Privacy policy | https://privacy.microsoft.com/ |
| Categories | Content and Files |
Known issues and limitations
The connector is based on multi-tenant application registration. The application cannot tell what tenant the user is from until the user signs into it. And thus, connector supports subscriptions only under users' default tenant ('common').
Known limitations with Microsoft Entra ID authentication
Due to current authentication pipeline limitations, Microsoft Entra ID guest users aren't supported for Microsoft Entra ID connections to Azure Automation. To resolve this problem, use Service principal authentication instead.
Microsoft Entra ID authentication in GCC
In GCC, choose the authentication type that matches the cloud hosting your Microsoft Entra ID tenant:
- OAuth (Azure Commercial) is the default and uses
https://login.windows.netfor Azure Commercial tenants, including GCC tenants hosted in the commercial identity cloud. - OAuth (Azure Government) uses
https://login.microsoftonline.usfor Azure Government tenants.
Both cloud options access the Azure Government resource endpoint configured for GCC.
Creating a connection
The connector supports the following authentication types:
| [variables('oauthDefaultDisplayName')] | Login using default Microsoft Entra ID app. | All regions except Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC-High) and US Government (GCC) | Not shareable |
| Bring your own application | Log in using your own Microsoft Entra ID app. | Integration service environments (ISE) only | Not shareable |
| Managed Identity | Create a connection using a Managed Identity | All regions | Shareable |
| OAuth (Azure Commercial) | Login using default Microsoft Entra ID app. | US Government (GCC) only | Not shareable |
| OAuth (Azure Government) | Log in using a Microsoft Entra ID account in Azure Government. | US Government (GCC) only | Not shareable |
| OAuth default | Login using default Microsoft Entra ID app. | Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC-High) only | Not shareable |
| Service principal authentication | Use your own Microsoft Entra ID app for service principal authentication. | All regions | Not shareable |
| Default [DEPRECATED] | This option is only for older connections without an explicit authentication type, and is only provided for backward compatibility. | All regions | Not shareable |
[variables('oauthDefaultDisplayName')]
Auth ID: oauthDefault
Applicable: All regions except Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC-High) and US Government (GCC)
Login using default Microsoft Entra ID app.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
| Name | Type | Description | Required |
|---|---|---|---|
| Tenant | string | The tenant ID of for the Microsoft Entra ID application |
Bring your own application
Auth ID: oauthBYOA
Applicable: Integration service environments (ISE) only
Log in using your own Microsoft Entra ID app.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
| Name | Type | Description | Required |
|---|---|---|---|
| Tenant | string | Tenant ID of your Microsoft Entra ID application. | True |
| Client ID | string | Client (or Application) ID of your Microsoft Entra ID application. | True |
| Client Secret | securestring | Client secret of your Microsoft Entra ID application. | True |
Managed Identity
Auth ID: oauthMI
Applicable: All regions
Client Applicability: LogicApps
Create a connection using a Managed Identity
This is shareable connection. If the power app is shared with another user, connection is shared as well. For more information, please see the Connectors overview for canvas apps - Power Apps | Microsoft Docs
| Name | Type | Description | Required |
|---|---|---|---|
| Managed Identity | managedIdentity | Sign in with a Managed Identity | True |
OAuth (Azure Commercial)
Auth ID: oauthDefault
Applicable: US Government (GCC) only
Login using default Microsoft Entra ID app.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
| Name | Type | Description | Required |
|---|---|---|---|
| Tenant | string | The tenant ID of for the Microsoft Entra ID application |
OAuth (Azure Government)
Auth ID: oauthGovCloud
Applicable: US Government (GCC) only
Log in using a Microsoft Entra ID account in Azure Government.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
OAuth default
Auth ID: oauthDefault
Applicable: Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC-High) only
Login using default Microsoft Entra ID app.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
| Name | Type | Description | Required |
|---|---|---|---|
| Tenant | string | The tenant ID of for the Microsoft Entra ID application |
Service principal authentication
Auth ID: oauthServicePrincipal
Applicable: All regions
Use your own Microsoft Entra ID app for service principal authentication.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
| Name | Type | Description | Required |
|---|---|---|---|
| Client ID | string | True | |
| Client Secret | securestring | True | |
| Tenant | string | True |
Default [DEPRECATED]
Applicable: All regions
This option is only for older connections without an explicit authentication type, and is only provided for backward compatibility.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Throttling Limits
| Name | Calls | Renewal Period |
|---|---|---|
| API calls per connection | 1200 | 60 seconds |
Actions
| Create job |
Create Job to run on hybrid worker |
| Get job output |
Get outputs of an Azure Automation job. |
| Get status of job |
Get Status of a Job |
Create job
Create Job to run on hybrid worker
Parameters
| Name | Key | Required | Type | Description |
|---|---|---|---|---|
|
Subscription
|
subscriptionId | True | string |
The unique identifier for the Microsoft Azure subscription. The subscription ID forms part of the ID for every Azure resource. |
|
Resource Group
|
resourceGroupName | True | string |
The name of the Azure Resource Group. |
|
Automation Account
|
automationAccount | True | string |
The name of the Azure Automation Account. |
|
Runbook Name
|
runbookName | string |
Name of the runbook to run. |
|
|
body
|
body | True | dynamic | |
|
Wait for Job
|
wait | boolean |
Wait for the job to finish before completing the action. |
Returns
- Body
- CreateJobResponse
Get job output
Get outputs of an Azure Automation job.
Parameters
| Name | Key | Required | Type | Description |
|---|---|---|---|---|
|
Subscription
|
subscriptionId | True | string |
The unique identifier for the Microsoft Azure subscription. The subscription ID forms part of the ID for every Azure resource. |
|
Resource Group
|
resourceGroupName | True | string |
The name of the Azure Resource Group. |
|
Automation Account
|
automationAccount | True | string |
The name of the Azure Automation Account. |
|
Job ID
|
jobId | True | string |
GUID for the ID of the run. |
Returns
Runbook content from the job
- Content
- binary
Get status of job
Get Status of a Job
Parameters
| Name | Key | Required | Type | Description |
|---|---|---|---|---|
|
Subscription
|
subscriptionId | True | string |
The unique identifier for the Microsoft Azure subscription. The subscription ID forms part of the ID for every Azure resource. |
|
Resource Group
|
resourceGroupName | True | string |
The name of the Azure Resource Group. |
|
Automation Account
|
automationAccount | True | string |
The name of the Azure Automation Account. |
|
Job ID
|
jobId | True | string |
GUID for the ID of the run. |
Returns
- Body
- CreateJobResponse
Definitions
CreateJobResponse
| Name | Path | Type | Description |
|---|---|---|---|
|
Resource ID
|
id | string |
Resource ID of the Job |
|
Job ID
|
properties.jobId | string |
GUID for the Job ID. |
|
Provisioning State
|
properties.provisioningState | string |
Provisioning state for the job. |
|
Creation Time
|
properties.creationTime | date-time |
Creation time for the job. |
|
End Time
|
properties.endTime | date-time |
Time the job completed. |
|
Exception
|
properties.exception | string |
Exception information |
|
Start Time
|
properties.startTime | date-time |
Time the job started. |
|
Status
|
properties.status | string |
Status of the job. |
|
Status Details
|
properties.statusDetails | string |
Details on the status of the job. |
binary
This is the basic data type 'binary'.