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 |
---|---|---|
Logic Apps | Standard | All Logic Apps regions |
Power Automate | Premium | All Power Automate regions |
Power Apps | Premium | All Power Apps regions |
Contact | |
---|---|
Name | Microsoft |
URL | Microsoft LogicApps Support Microsoft Power Automate Support Microsoft Power Apps Support |
Connector Metadata | |
---|---|
Publisher | Microsoft |
Website | https://azure.microsoft.com/services/monitor/ |
Creating a connection
The connector supports the following authentication types:
Logic Apps Managed Identity | Create a connection using a LogicApps Managed Identity | LOGICAPPS only | 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 |
Logic Apps Managed Identity
Auth ID: managedIdentityAuth
Applicable: LOGICAPPS only
Create a connection using a LogicApps 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 |
---|---|---|---|
Logic Apps Managed Identity | managedIdentity | Sign in with a Logic Apps Managed Identity | 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 ID | string | The tenant ID of 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 | 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 V2 (Preview) (Preview) |
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 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 V2 (Preview) (Preview) |
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 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 |
Query
|
query | True | string |
Specify the query you would like to run |
Time Range
|
timerange | True | string |
Select Time Range |
Returns
Run query and list results V2 (Preview) (Preview)
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
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 |
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
- Body
- VisualizeResults
Run query and visualize results V2 (Preview) (Preview)
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
- Body
- VisualizeResults
Definitions
VisualizeResults
Name | Path | Type | Description |
---|---|---|---|
Body
|
body | byte | |
Attachment Content
|
attachmentContent | byte | |
Attachment Name
|
attachmentName | string |