Compartir por


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
Logic Apps Standard All Logic Apps regions and Integration Service Environments (ISEs)
Power Automate Premium All Power Automate regions
Power Apps Premium All Power Apps regions
Connector Metadata
Publisher Microsoft
Website https://azure.microsoft.com/services/automation/

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.

Creating a connection

The connector supports the following authentication types:

Bring your own application Log in using your own Azure Active Directory app. Integration service environments (ISE) only Not shareable
OAuth default 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) and US Government (GCC-High) Not shareable
OAuth default Login using default Azure Active Directory app. Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC) and US Government (GCC-High) only Not shareable
Service principal authentication Use your own Microsoft Entra ID app for service principal authentication. All regions except Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC) and US Government (GCC-High) Not shareable
Service principal authentication Use your own Azure Active Directory app for service principal authentication. Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC) and US Government (GCC-High) only 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

Bring your own application

Auth ID: oauthBYOA

Applicable: Integration service environments (ISE) only

Log in using your own Azure Active Directory 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 Azure Active Directory application. True
Client ID string Client (or Application) ID of your AAD application. True
Client Secret securestring Client secret of your Azure Active Directory application. True

OAuth default

Auth ID: oauthDefault

Applicable: All regions except Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC) and US Government (GCC-High)

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.

OAuth default

Auth ID: oauthDefault

Applicable: Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC) and US Government (GCC-High) only

Login using default Azure Active Directory 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 Azure Active Directory application

Service principal authentication

Auth ID: oauthServicePrincipal

Applicable: All regions except Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC) and US Government (GCC-High)

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

Service principal authentication

Auth ID: oauthServicePrincipal

Applicable: Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC) and US Government (GCC-High) only

Use your own Azure Active Directory 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

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

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.

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