Azure Monitor Logs

Use this connector to query your Azure Monitor Logs across Log Analytics workspace and Application Insights component, to list or visualize results.

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 Microsoft
URL https://support.microsoft.com
Connector Metadata
Publisher Microsoft
Website https://azure.microsoft.com/services/monitor/
Privacy policy https://privacy.microsoft.com
Categories Data

Creating a connection

The connector supports the following authentication types:

Managed Identity Create a connection using a Managed Identity LOGICAPPS only Shareable
OAuth default Login using default Microsoft Entra ID app. All regions 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

Managed Identity

Auth ID: managedIdentityAuth

Applicable: LOGICAPPS only

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 default

Auth ID: oauthDefault

Applicable: All regions

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 ID string The tenant ID of 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 100 60 seconds

Actions

Run query and list results

Returns each row as its own object. Use this action when you want to work with each row separately in the rest of the workflow.

Run query and list results (deprecated) [DEPRECATED]

This action has been deprecated. Please use Run query and list results instead.

Returns each row as its own object. Use this action when you want to work with each row separately in the rest of the workflow. (deprecated).

Run query and visualize results

Returns all rows in the result set as a single formatted object. Use this action when you want to use the result set together in the rest of the workflow.

Run query and visualize results (deprecated) [DEPRECATED]

This action has been deprecated. Please use Run query and visualize results instead.

Returns all rows in the result set as a single formatted object. Use this action when you want to use the result set together in the rest of the workflow. (deprecated).

Run query and list results

Returns each row as its own object. Use this action when you want to work with each row separately in the rest of the workflow.

Parameters

Name Key Required Type Description
Subscription
subscriptions True string

Select subscription

Resource Group
resourcegroups True string

Select resource group

Resource Type
resourcetype True string

Select Resource Type

Resource Name
resourcename True string

Select Resource

body
body True dynamic

Returns

The outputs of this operation are dynamic.

Run query and list results (deprecated) [DEPRECATED]

This action has been deprecated. Please use Run query and list results instead.

Returns each row as its own object. Use this action when you want to work with each row separately in the rest of the workflow. (deprecated).

Parameters

Name Key Required Type Description
Subscription
subscriptions True string

Select subscription

Resource Group
resourcegroups True string

Select resource group

Resource Type
resourcetype True string

Select Resource Type

Resource Name
resourcename True string

Select Resource

Query
query True string

Specify the query you would like to run

Time Range
timerange True string

Select Time Range

Returns

The outputs of this operation are dynamic.

Run query and visualize results

Returns all rows in the result set as a single formatted object. Use this action when you want to use the result set together in the rest of the workflow.

Parameters

Name Key Required Type Description
Subscription
subscriptions True string

Select subscription

Resource Group
resourcegroups True string

Select resource group

Resource Type
resourcetype True string

Select Resource Type

Resource Name
resourcename True string

Select Resource

body
body True dynamic
Chart Type
visType True string

Specify the resulting chart type.

Returns

Run query and visualize results (deprecated) [DEPRECATED]

This action has been deprecated. Please use Run query and visualize results instead.

Returns all rows in the result set as a single formatted object. Use this action when you want to use the result set together in the rest of the workflow. (deprecated).

Parameters

Name Key Required Type Description
Subscription
subscriptions True string

Select subscription

Resource Group
resourcegroups True string

Select resource group

Resource Type
resourcetype True string

Select Resource Type

Resource Name
resourcename True string

Select Resource

Query
query True string

Specify the query you would like to run

Time Range
timerange True string

Select Time Range

Chart Type
visType True string

Specify the resulting chart type

Returns

Definitions

PartialQueryError

Name Path Type Description
Error Code
code string

VisualizeResults

Name Path Type Description
Body
body byte
Attachment Content
attachmentContent byte
Attachment Name
attachmentName string
error
error PartialQueryError