Logic Apps Standard REST APIs
At the moment we are writing this document, there isn’t any official documentation by Microsoft regarding Logic App Standard REST APIs. And I do believe that many things may change in the future, or many new things can appear.
Nevertheless, we are going to try to document a comprehensive list of methods currently available and trying to group them in the same terms of the Logic App Consumption:
Resource Group | Description |
|---|---|
Workflows | Provides operations for creating and managing workflows. |
Workflow Runs | Provides operations for listing and canceling workflow runs. |
Workflow Run Actions | Lists workflow run actions. |
Workflow Versions | Lists workflow versions. |
Workflow Triggers | Provides operations for listing and running workflow triggers. |
Workflow Trigger Histories | Lists workflow trigger histories. |
Logic App | Provides operations that you can apply at the Logic App Standard App level. |
App Service Plans | Provide a list of App Service Plan REST APIs that are interested to use bind with Logic App Standard. |
Workflows
These are some of the available operations:
- List of Workflows: Gets a list of workflows.
- Create Or Update: Creates or updates a workflow.
- Delete: Deletes a workflow.
- Enable or Disable: Enables or Disables a workflow.
- Get Definition: Gets a workflow definition.
- Get Runtime Overview Settings: Gets a workflow runtime overview settings.
- Regenerate Access Key: Regenerates the callback URL access key for request triggers.
- Validate: Validates the workflow definition.
This list may change since this is not the official list, and many things under the hood are different from Consumption to Standard.
List of Workflows
This operation allows you to get a list of existing stateless and stateful workflows available in a Logic App Standard app.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/workflows?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
404 Not Found | Not found. | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/workflows?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 32 lines |
{ "value": [ { "id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/workflows/Demo", "name": "LASTD-LA-WITH-Error/Demo", "type": "Microsoft.Web/sites/workflows", "kind": "Stateful", "location": "West Europe", "properties": { "flowState": "Disabled", "health": { "state": "Healthy" } } }, { "id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/workflows/DemoHTTP", "name": "LASTD-LA-WITH-Error/DemoHTTP", "type": "Microsoft.Web/sites/workflows", "kind": "Stateful", "location": "West Europe", "properties": { "flowState": "Enabled", "health": { "state": "Healthy" } } } ], "nextLink": null, "id": null}Create Or Update
This operation allows you to create or update a workflow.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/deployWorkflowArtifacts?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Request Body Sample | JSON | 14 lines
{ "files": { "<name-of-the-workflow>/workflow.json": { "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "actions": {}, "contentVersion": "1.0.0.0", "outputs": {}, "triggers": {} }, "kind": "Stateful" } }}The important topics here is to add the name of the workflow where it says <name-of-the-workflow> and on the Kind attribute the values can be Stateful or Stateless.
Mandatory headers:
- Authorization
- Content-Type: application/json
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
POST https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/deployWorkflowArtifacts?api-version=2018-11-01
Request Body | JSON | 14 lines
{ "files": { "DemoStatefulWorkflow/workflow.json": { "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "actions": {}, "contentVersion": "1.0.0.0", "outputs": {}, "triggers": {} }, "kind": "Stateful" } }}Sample Response:
Status Code: 200
Delete
This operation allows you to delete a workflow.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/deployWorkflowArtifacts?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Request Body Sample | JSON | 6 lines
{ "filesToDelete": [ "<name-of-the-workflow>/workflow.json", "<name-of-the-workflow>/" ]}The important topics here is to add the name of the workflow where it says <name-of-the-workflow>.
Mandatory headers:
- Authorization
- Content-Type: application/json
- If-Match: *
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
If-Match: *
POST https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/deployWorkflowArtifacts?api-version=2018-11-01
Request Body | JSON | 6 lines
{ "filesToDelete": [ "demo/workflow.json", "demo/" ]}Sample Response:
Status Code: 200
Enable or Disable
This operation allows you to Enable or Disable a workflow.
Despite this being possible thru REST API, this operation is a little tricky and hard to accomplish because it is necessary to send all the Application Settings properties in the request body. So, to facilitate this request, you can first get the list of application settings of that Logic App Standard.
Basically, this call is an Update to Application Settings.
Request URL:
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/config/appsettings?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Request Body Sample | JSON | 23 lines
{ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/config/appsettings", "name": "appsettings", "type": "Microsoft.Web/sites/config", "location": "West Europe", "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{logicAppStdName}" }, "properties": { "FUNCTIONS_EXTENSION_VERSION": "~4", "FUNCTIONS_WORKER_RUNTIME": "node", "WEBSITE_NODE_DEFAULT_VERSION": "~14", "APPINSIGHTS_INSTRUMENTATIONKEY": "…", "APPLICATIONINSIGHTS_CONNECTION_STRING": "InstrumentationKey=…;IngestionEndpoint=https://westeurope…applicationinsights.azure.com/;LiveEndpoint=https://westeurope…monitor.azure.com/", "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=…;AccountKey=…;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING": "DefaultEndpointsProtocol=https;AccountName=…;AccountKey=…;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTSHARE": "…", "AzureFunctionsJobHost__extensionBundle__id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows", "AzureFunctionsJobHost__extensionBundle__version": "[1.*, 2.0.0)", "APP_KIND": "workflowApp", "Workflows.<name-of-the-workflow.FlowState": "Disabled" }}The important topics here is:
- Add the name of the workflow where it says <name-of-the-workflow>.
- FlowState property can be Disabled or Enabled.
Mandatory headers:
- Authorization
- Content-Type: application/json
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | App Service error response. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
POST https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/config/appsettings?api-version=2018-11-01
Request Body | JSON | 23 lines
{ "id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/config/appsettings", "name": "appsettings", "type": "Microsoft.Web/sites/config", "location": "West Europe", "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error" }, "properties": { "FUNCTIONS_EXTENSION_VERSION": "~4", "FUNCTIONS_WORKER_RUNTIME": "node", "WEBSITE_NODE_DEFAULT_VERSION": "~14", "APPINSIGHTS_INSTRUMENTATIONKEY": "0a5b9a2c-431f-4b10-9c1d-ab0b6b0fb139", "APPLICATIONINSIGHTS_CONNECTION_STRING": "InstrumentationKey=xxxx;IngestionEndpoint=https://westeurope-x.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/", "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=xxxx;AccountKey=xxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING": "DefaultEndpointsProtocol=https;AccountName=xxxxx;AccountKey=xxxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTSHARE": "lastd-la-with-error8556", "AzureFunctionsJobHost__extensionBundle__id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows", "AzureFunctionsJobHost__extensionBundle__version": "[1.*, 2.0.0)", "APP_KIND": "workflowApp", "Workflows.Demo.FlowState": "Disabled" }}Sample Response:
Status Code: 200
Response Body | JSON | 23 lines
{ "id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/config/appsettings", "name": "appsettings", "type": "Microsoft.Web/sites/config", "location": "West Europe", "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error" }, "properties": { "FUNCTIONS_EXTENSION_VERSION": "~4", "FUNCTIONS_WORKER_RUNTIME": "node", "WEBSITE_NODE_DEFAULT_VERSION": "~14", "APPINSIGHTS_INSTRUMENTATIONKEY": "0a5b9a2c-431f-4b10-9c1d-ab0b6b0fb139", "APPLICATIONINSIGHTS_CONNECTION_STRING": "InstrumentationKey=xxxx;IngestionEndpoint=https://westeurope-x.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/", "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=xxxx;AccountKey=xxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING": "DefaultEndpointsProtocol=https;AccountName=xxxxx;AccountKey=xxxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTSHARE": "lastd-la-with-error8556", "AzureFunctionsJobHost__extensionBundle__id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows", "AzureFunctionsJobHost__extensionBundle__version": "[1.*, 2.0.0)", "APP_KIND": "workflowApp", "Workflows.Demo.FlowState": "Disabled" }}Get Definition
This operation allows you to get a workflow definition.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/workflows/{workflowName}?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-SPMSDN-LASTD-POC/providers/Microsoft.Web/sites/LASTD-SPMSDN-EAI-POC/workflows/sfw-Accessing-Runtime-Settings-POC?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 71 lines
{ "id": "/subscriptions/XXXXXX/resourceGroups/RG-SPMSDN-LASTD-POC/providers/Microsoft.Web/sites/LASTD-SPMSDN-EAI-POC/workflows/sfw-Accessing-Runtime-Settings-POC", "name": "LASTD-SPMSDN-EAI-POC/sfw-Accessing-Runtime-Settings-POC", "type": "Microsoft.Web/sites/workflows", "kind": "Stateful", "location": "West Europe", "properties": { "files": { "workflow.json": { "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "actions": { "Compose": { "inputs": { "REGION_NAME": "@{appsetting('REGION_NAME')}", "WEBSITE_HOSTNAME": "@{appsetting('WEBSITE_HOSTNAME')}", "WEBSITE_OWNER_NAME": "@{appsetting('WEBSITE_OWNER_NAME')}", "WEBSITE_RESOURCE_GROUP": "@{appsetting('WEBSITE_RESOURCE_GROUP')}", "WEBSITE_SITE_NAME": "@{appsetting('WEBSITE_SITE_NAME')}", "WEBSITE_TIME_ZONE": "@{appsetting('WEBSITE_ADD_SITENAME_BINDINGS_IN_APPHOST_CONFIG')}" }, "runAfter": { "Compose_Msg_with_Important_Settings": [ "Succeeded" ] }, "type": "Compose" }, "Compose_Msg__with_Workflow_Settings": { "inputs": "@workflow()", "runAfter": {}, "type": "Compose" }, "Compose_Msg_with_Important_Settings": { "inputs": { "Location": "@{replace(substring(appsetting('WEBSITE_OWNER_NAME'), add(lastIndexOf(appsetting('WEBSITE_OWNER_NAME'),'-'),1)), 'webspace','')}", "LogicAppName": "@{appsetting('WEBSITE_SITE_NAME')}", "ResourceGroup": "@{appsetting('WEBSITE_RESOURCE_GROUP')}", "RunId": "@{workflow()['run']['name']}", "SubscriptionId": "@{split(appsetting('WEBSITE_OWNER_NAME'),'+')[0]}", "WorkflowName": "@{workflow()['name']}" }, "runAfter": { "Compose_Msg__with_Workflow_Settings": [ "Succeeded" ] }, "type": "Compose" } }, "contentVersion": "1.0.0.0", "outputs": {}, "triggers": { "Recurrence": { "recurrence": { "frequency": "Month", "interval": 3 }, "type": "Recurrence" } } }, "kind": "Stateful" } }, "flowState": "Enabled", "health": { "state": "Healthy" } }}Get Runtime Overview Settings
This operation allows you to get a workflow runtime overview setting.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
GET https://management.azure.com/subscriptions/xxxxx/resourceGroups/rg-demo-lastd-main/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 16 lines
{ "name": "DemoHTTP", "definition_href": "https://lastd-la-with-error.azurewebsites.net/admin/vfs/site/wwwroot/DemoHTTP/workflow.json", "href": "https://lastd-la-with-error.azurewebsites.net/runtime/webhooks/workflow/api/management/workflows/DemoHTTP", "kind": "Stateful", "triggers": { "manual": { "type": "Request", "kind": "Http" } }, "isDisabled": true, "health": { "state": "Healthy" }}Regenerate Access Key
This operation allows you to regenerate the callback URL access key for request triggers.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/regenerateAccessKey?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
api-version | query | True | string | The API version. |
Request Body;
Name | Type | Description |
|---|---|---|
KeyType | The key type. |
Request Body Sample | JSON | 3 lines
{ "keyType": "secondary"}Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
https://management.azure.com/subscriptions/xxxxx/resourceGroups/rg-demo-lastd-main/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/regenerateAccessKey?api-version=2018-11-01
Sample Response:
Status Code: 200
Validate
This operation allows you to validate the workflow definition.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/validate?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
api-version | query | True | string | The API version. |
Request Body:
Name | Type | Description |
|---|---|---|
properties.definition | The workflow definition. | |
kind | object | Type of workflow: Stateless or Stateful. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
400 Bad Request | Invalid validation. | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
POST https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/validate?api-version=2018-11-01
Request Body | JSON | 47 lines
{ "properties": { "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "actions": { "Initialize_variable": { "inputs": { "variables": [ { "name": "varHello", "type": "string", "value": "Hello: @{add(2,2)}" } ] }, "runAfter": {}, "type": "InitializeVariable" }, "Response": { "inputs": { "body": { "say": "@{variables('varHello')}" }, "statusCode": 200 }, "kind": "http", "runAfter": { "Initialize_variable": [ "Succeeded" ] }, "type": "Response" } }, "contentVersion": "1.0.0.0", "outputs": {}, "triggers": { "manual": { "inputs": {}, "kind": "Http", "type": "Request" } } }, "kind": "Stateful" }}Request Body | :
Status Code 200
You may also get response errors like 400 Bad Request:
Validation Error | JSON | 6 lines
{ "error": { "code": "InvalidFlowKind", "message": "The existing workflow 'DemoHTTP' cannot be changed from 'Stateful' to 'Stateless' kind." }}Workflow Runs
These are some of the available operations:
- Get List of Runs: Gets the list of workflow runs (apply only for stateful workflows)
- Get Run: Gets a specific workflow run (apply only for stateful workflows)
- Cancel: Cancels a workflow run.
This list may change since this is not the official list, and many things under the hood are different from Consumption to Standard.
Get List of Runs
This operation allows you to get the list of workflow runs (apply only for stateful workflows).
Request URL:
GET
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
api-version | query | True | string | The API version. |
$filter | query | False | string | The filter to apply on the operation. Options for filters include Status, StartTime, and ClientTrackingId. |
$top | query | False | Integer int32 | The number of items to be included in the result. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/runs?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 90 lines
{ "value": [ { "properties": { "waitEndTime": "2023-02-03T12:37:20.4953636Z", "startTime": "2023-02-03T12:37:20.4953636Z", "endTime": "2023-02-03T12:37:21.3749994Z", "status": "Failed", "code": "ActionFailed", "error": { "code": "ActionFailed", "message": "An action failed. No dependent actions succeeded." }, "correlation": { "clientTrackingId": "08585261790449830217106959546CU00" }, "workflow": { "id": "/workflows/DemoHTTP/versions/08585261841016885283", "name": "08585261841016885283", "type": "workflows/versions" }, "trigger": { "name": "manual", "inputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/runs/08585261790449830217106959546CU00/contents/TriggerInputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-02-09T14%3A00%3A00.0000000Z&sp=%2Fruns%2F08585261790449830217106959546CU00%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 2 }, "outputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/runs/08585261790449830217106959546CU00/contents/TriggerOutputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-02-09T14%3A00%3A00.0000000Z&sp=%2Fruns%2F08585261790449830217106959546CU00%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 3785 }, "startTime": "2023-02-03T12:37:20.4946299Z", "endTime": "2023-02-03T12:37:20.4946299Z", "originHistoryName": "08585261790449830217106959546CU00", "correlation": { "clientTrackingId": "08585261790449830217106959546CU00" }, "status": "Succeeded" }, "outputs": {} }, "id": "/workflows/DemoHTTP/runs/08585261790449830217106959546CU00", "name": "08585261790449830217106959546CU00", "type": "workflows/runs" }, { "properties": { "waitEndTime": "2023-02-03T12:37:17.1477228Z", "startTime": "2023-02-03T12:37:17.1477228Z", "endTime": "2023-02-03T12:37:17.3604131Z", "status": "Failed", "code": "ActionFailed", "error": { "code": "ActionFailed", "message": "An action failed. No dependent actions succeeded." }, "correlation": { "clientTrackingId": "08585261790483309594709244100CU00" }, "workflow": { "id": "/workflows/DemoHTTP/versions/08585261841016885283", "name": "08585261841016885283", "type": "workflows/versions" }, "trigger": { "name": "manual", "inputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/runs/08585261790483309594709244100CU00/contents/TriggerInputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-02-09T14%3A00%3A00.0000000Z&sp=%2Fruns%2F08585261790483309594709244100CU00%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 2 }, "outputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXX/runs/08585261790483309594709244100CU00/contents/TriggerOutputs?api-version=2018-11-01&code=XXXXX%3d%3d&se=2023-02-09T14%3A00%3A00.0000000Z&sp=%2Fruns%2F08585261790483309594709244100CU00%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 3785 }, "startTime": "2023-02-03T12:37:17.1467136Z", "endTime": "2023-02-03T12:37:17.1467136Z", "originHistoryName": "08585261790483309594709244100CU00", "correlation": { "clientTrackingId": "08585261790483309594709244100CU00" }, "status": "Succeeded" }, "outputs": {} }, "id": "/workflows/DemoHTTP/runs/08585261790483309594709244100CU00", "name": "08585261790483309594709244100CU00", "type": "workflows/runs" } ]}Get Run
This operation allows you to get a specific workflow run (apply only for stateful workflows).
Request URL:
GET
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runId}?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
runId | path | True | string | The workflow run name (id) |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/runs/08585261790449830217106959546CU00?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 43 lines
{ "properties": { "waitEndTime": "2023-02-03T12:37:20.4953636Z", "startTime": "2023-02-03T12:37:20.4953636Z", "endTime": "2023-02-03T12:37:21.3749994Z", "status": "Failed", "code": "ActionFailed", "error": { "code": "ActionFailed", "message": "An action failed. No dependent actions succeeded." }, "correlation": { "clientTrackingId": "08585261790449830217106959546CU00" }, "workflow": { "id": "/workflows/DemoHTTP/versions/08585261841016885283", "name": "08585261841016885283", "type": "workflows/versions" }, "trigger": { "name": "manual", "inputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/runs/08585261790449830217106959546CU00/contents/TriggerInputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-02-09T15%3A00%3A00.0000000Z&sp=%2Fruns%2F08585261790449830217106959546CU00%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 2 }, "outputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/runs/08585261790449830217106959546CU00/contents/TriggerOutputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-02-09T15%3A00%3A00.0000000Z&sp=%2Fruns%2F08585261790449830217106959546CU00%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 3785 }, "startTime": "2023-02-03T12:37:20.4946299Z", "endTime": "2023-02-03T12:37:20.4946299Z", "originHistoryName": "08585261790449830217106959546CU00", "correlation": { "clientTrackingId": "08585261790449830217106959546CU00" }, "status": "Succeeded" }, "outputs": {} }, "id": "/workflows/DemoHTTP/runs/08585261790449830217106959546CU00", "name": "08585261790449830217106959546CU00", "type": "workflows/runs"}Cancel
This operation allows you to cancel a specific workflow run.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runId}/cancel?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
runId | path | True | string | The workflow run name (id) |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/runs/08585274851606006136615810725CU00/cancel?api-version=2018-11-01
Sample Response:
Status Code: 200
Workflow Runs Actions
These are some of the available operations:
- Get List of Actions: Gets a list of workflow run actions (apply only for stateful workflows)
- Get Action: Gets a workflow run action (apply only for stateful workflows)
- List Expression Traces: Lists a workflow run expression trace.
This list may change since this is not the official list, and many things under the hood are different from Consumption to Standard.
Get List of Actions
This operation allows you to get a list of workflow run actions (apply only for stateful workflows).
Request URL:
GET
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runId}/actions?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
runId | path | True | string | The workflow run name (id) |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/runs/08585275491257501686464196722CU00/actions?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 46 lines
{ "value": [ { "properties": { "inputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/runs/08585275491257501686464196722CU00/actions/Initialize_variable/contents/ActionInputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-02-10T14%3A00%3A00.0000000Z&sp=%2Fruns%2F08585275491257501686464196722CU00%2Factions%2FInitialize_variable%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 70 }, "startTime": "2023-01-18T16:02:39.7915319Z", "endTime": "2023-01-18T16:02:39.8039532Z", "correlation": { "actionTrackingId": "502d4aae-41f5-4501-95f6-7408cd3913bd", "clientTrackingId": "08585283476504944788005579297CU00" }, "status": "Succeeded", "code": "NotSpecified" }, "id": "/workflows/DemoHTTP/runs/08585275491257501686464196722CU00/actions/Initialize_variable", "name": "Initialize_variable", "type": "workflows/runs/actions" }, { "properties": { "inputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/runs/08585275491257501686464196722CU00/actions/Response/contents/ActionInputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-02-10T14%3A00%3A00.0000000Z&sp=%2Fruns%2F08585275491257501686464196722CU00%2Factions%2FResponse%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 46 }, "startTime": "2023-01-18T16:02:39.8143899Z", "endTime": "2023-01-18T16:02:39.8209762Z", "correlation": { "actionTrackingId": "4810ddf8-857e-4612-a59c-bf254fcce9bd", "clientTrackingId": "08585283476504944788005579297CU00" }, "status": "Skipped", "code": "ActionResponseSkipped", "error": { "code": "ActionResponseSkipped", "message": "The execution of template action 'Response' is skipped: the client application is not waiting for a response from service." } }, "id": "/workflows/DemoHTTP/runs/08585275491257501686464196722CU00/actions/Response", "name": "Response", "type": "workflows/runs/actions" } ]}Get Action
This operation allows you to get a specific a workflow run action.
Request URL:
GET
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runId}/actions/{actionName}?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
runId | path | True | string | The workflow run name (id) |
actionName | path | True | string | The workflow action name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/runs/08585275491257501686464196722CU00/actions/Initialize_variable?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 19 lines
{ "properties": { "inputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/runs/08585275491257501686464196722CU00/actions/Initialize_variable/contents/ActionInputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-02-10T14%3A00%3A00.0000000Z&sp=%2Fruns%2F08585275491257501686464196722CU00%2Factions%2FInitialize_variable%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 70 }, "startTime": "2023-01-18T16:02:39.7915319Z", "endTime": "2023-01-18T16:02:39.8039532Z", "correlation": { "actionTrackingId": "502d4aae-41f5-4501-95f6-7408cd3913bd", "clientTrackingId": "08585283476504944788005579297CU00" }, "status": "Succeeded", "code": "NotSpecified" }, "id": "/workflows/DemoHTTP/runs/08585275491257501686464196722CU00/actions/Initialize_variable", "name": "Initialize_variable", "type": "workflows/runs/actions"}List Expression Traces
This operation allows you to list a workflow run expression trace.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runId}/actions/{actionName}/listExpressionTraces?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
runId | path | True | string | The workflow run name (id) |
actionName | path | True | string | The workflow action name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/runs/08585275491257501686464196722CU00/actions/Initialize_variable/listExpressionTraces?api-version=2018-11-01
Request Body | JSON | 9 lines
{ "inputs": [ { "path": "", "text": "add(2, 2)", "value": 8 } ]}Unfortunately, I could test properly this method but everything’s points that is available on Logic App Standard also.
Workflows Versions
These are the available operations:
- Get: Gets a specific version of the workflow definition.
- List: Gets a list of workflow versions.
This list may change since this is not the official list, and many things under the hood are different from Consumption to Standard.
Get
This operation allows you to get a specific version of the workflow definition.
Request URL:
GET
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId}?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
versionId | path | True | String | The workflow version Id. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/versions/08585283477145621096?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 67 lines
{ "properties": { "createdTime": "2023-01-09T10:12:51.2387286Z", "changedTime": "2023-01-09T10:12:51.2097875Z", "version": "08585283477145621096", "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", "parameters": {}, "triggers": { "manual": { "type": "Request", "kind": "Http", "inputs": {} } }, "actions": { "Initialize_variable": { "runAfter": {}, "type": "InitializeVariable", "inputs": { "variables": [ { "name": "varHello", "type": "string", "value": "Hello: @{add(2,2)}" } ] } }, "Response": { "runAfter": { "Initialize_variable": [ "Succeeded" ] }, "type": "Response", "kind": "Http", "inputs": { "statusCode": 200 } } }, "outputs": {} }, "parameters": {}, "endpointsConfiguration": { "workflow": { "outgoingIpAddresses": [], "accessEndpointIpAddresses": [] }, "connector": { "outgoingIpAddresses": [] } }, "runtimeConfiguration": { "lifetime": { "unit": "Day", "count": 90 }, "operationOptions": "None" } }, "id": "/workflows/DemoHTTP/versions/08585283477145621096", "name": "08585283477145621096", "type": "workflows/versions"}List
This operation allows you to get a specific the list of workflow definition versions.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
api-version | query | True | string | The API version. |
$top | query | Integer int32 | The number of items to be included in the result. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/versions?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 144 lines
{ "value": [ { "properties": { "createdTime": "2023-01-18T10:20:42.7213644Z", "changedTime": "2023-01-18T10:20:42.6749116Z", "version": "08585275696431326846", "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", "parameters": {}, "triggers": { "manual": { "type": "Request", "kind": "Http", "inputs": {} } }, "actions": { "Initialize_variable": { "runAfter": {}, "type": "InitializeVariable", "inputs": { "variables": [ { "name": "varHello", "type": "string", "value": "Hello: @{add(2,2)}" } ] } }, "Response": { "runAfter": { "Initialize_variable": [ "Succeeded" ] }, "type": "Response", "kind": "Http", "inputs": { "body": { "say": "@{variables('varHello')}" }, "statusCode": 200 } } }, "outputs": {} }, "parameters": {}, "endpointsConfiguration": { "workflow": { "outgoingIpAddresses": [], "accessEndpointIpAddresses": [] }, "connector": { "outgoingIpAddresses": [] } }, "runtimeConfiguration": { "lifetime": { "unit": "Day", "count": 90 }, "operationOptions": "None" } }, "id": "/workflows/DemoHTTP/versions/08585275696431326846", "name": "08585275696431326846", "type": "workflows/versions" }, { "properties": { "createdTime": "2023-01-18T10:19:29.4365047Z", "changedTime": "2023-01-18T10:19:29.3907608Z", "version": "08585275697164579861", "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", "parameters": {}, "triggers": { "manual": { "type": "Request", "kind": "Http", "inputs": {} } }, "actions": { "Initialize_variable": { "runAfter": {}, "type": "InitializeVariable", "inputs": { "variables": [ { "name": "varHello", "type": "string", "value": "Hello: @{add(2,3)}" } ] } }, "Response": { "runAfter": { "Initialize_variable": [ "Succeeded" ] }, "type": "Response", "kind": "Http", "inputs": { "body": { "say": "@{variables('varHello')}" }, "statusCode": 200 } } }, "outputs": {} }, "parameters": {}, "endpointsConfiguration": { "workflow": { "outgoingIpAddresses": [], "accessEndpointIpAddresses": [] }, "connector": { "outgoingIpAddresses": [] } }, "runtimeConfiguration": { "lifetime": { "unit": "Day", "count": 90 }, "operationOptions": "None" } }, "id": "/workflows/DemoHTTP/versions/08585275697164579861", "name": "08585275697164579861", "type": "workflows/versions" } ]}Workflow Triggers
These are the available operations:
- Get: Gets a workflow trigger.
- Get Schema JSON | : Get the trigger schema as JSON.
- List: Gets a list of workflow triggers.
- List Callback Url: Get the callback URL for a workflow trigger.
- Reset: Resets a workflow trigger.
- Run: Runs a workflow trigger.
- Set State: Sets the state of a workflow trigger.
This list may change since this is not the official list, and many things under the hood are different from Consumption to Standard.
Get
This operation allows you to get a workflow trigger.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
triggerName | path | True | String | The workflow trigger name |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/triggers/manual?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 16 lines
{ "properties": { "provisioningState": "Succeeded", "createdTime": "2023-01-09T10:11:37.2587223Z", "changedTime": "2023-01-19T09:42:05.3741007Z", "state": "Enabled", "workflow": { "id": "/workflows/DemoHTTP/versions/08585274855604823984", "name": "08585274855604823984", "type": "workflows/versions" } }, "id": "/workflows/DemoHTTP/triggers/manual", "name": "manual", "type": "workflows/triggers"}Get Schema JSON
This operation allows you to get the trigger schema as JSON.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/schemas/json?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
triggerName | path | True | String | The workflow trigger name |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/triggers/manual/schemas/json?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 8 lines
{ "properties": { "Demo": { "type": "string" } }, "type": "object"}List
This operation allows you to get a list of workflow triggers.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
api-version | query | True | string | The API version. |
$filter | query | string | The filter to apply on the operation. | |
$top | query | Integer int32 | The number of items to be included in the result. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/triggers?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 20 lines
{ "value": [ { "properties": { "provisioningState": "Succeeded", "createdTime": "2023-01-09T10:11:37.2587223Z", "changedTime": "2023-01-19T09:42:05.3741007Z", "state": "Enabled", "workflow": { "id": "/workflows/DemoHTTP/versions/08585274855604823984", "name": "08585274855604823984", "type": "workflows/versions" } }, "id": "/workflows/DemoHTTP/triggers/manual", "name": "manual", "type": "workflows/triggers" } ]}List Callback URL
This operation allows you to get the workflow callback URL.
Request URL:
POST
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{TriggerName}listCallbackUrl?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
api-version | query | True | string | The API version. |
Request Body;
Name | Type | Description |
|---|---|---|
Key Type | The key type. |
Request Body Sample | JSON | 3 lines
{ "keyType": "Primary"}Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
POST https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/triggers/manual/listCallbackUrl?api-version=2018-11-01
Request Body | JSON | 4 lines
{ "notAfter": "2023-01-19T08:00:00Z", "keyType": "Primary"}Sample Response:
Status Code: 200
Response Body | JSON | 12 lines
{ "value": "https://XXXXXX.azurewebsites.net:443/api/DemoHTTP/triggers/manual/invoke?api-version=2022-05-01&se=2023-01-19T08%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=XXXXXX", "method": "POST", "basePath": "https://XXXXXX.azurewebsites.net/api/DemoHTTP/triggers/manual/invoke", "queries": { "api-version": "2022-05-01", "se": "2023-01-19T08:00:00.0000000Z", "sp": "/triggers/manual/run", "sv": "1.0", "sig": "XXXXXX" }}Set State
This operation allows you to set the state of a workflow trigger. We couldn’t test this method properly, so it is unclear if it is available in Logic App Standard.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/setState?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
triggerName | path | True | String | The workflow trigger name |
api-version | query | True | string | The API version. |
Request Body |
Name | Required | Type | Description |
|---|---|---|---|
Source | True | The workflow trigger. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
https://management.azure.com/subscriptions/xxxxx/resourceGroups/rg-demo-lastd-main/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/triggers/manual/setState?api-version=2018-11-01
NOTE: “When a HTTP request is received” trigger, also known as the “HTTP Request” trigger, does not support the “Set State” – It’s important to note that the “HTTP Request” trigger is a built-in trigger that is always enabled and it’s not possible to change its state.
Sample Response:
Status Code: 404 Not Found
Response Body | JSON | 6 lines
{ "error": { "code": "InvalidFlowExtensionRequestRoute", "message": "The flow extension request route '/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/triggers/manual/setState' is invalid." }}Workflow Trigger Histories
These are the available operations:
- Get: Gets a workflow trigger history.
- List Trigger Histories: Gets a list of workflow trigger histories.
- Resubmit: Resubmits a workflow run based on the trigger history.
This list may change since this is not the official list, and many things under the hood are different from Consumption to Standard.
Get
This operation allows you to get a workflow trigger history.
Request URL:
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
triggerName | path | True | String | The workflow trigger name |
historyName | path | True | string | The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/triggers/manual/histories/08585275684706515046920712853CU00?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 30 lines
{ "properties": { "startTime": "2023-01-18T10:40:14.8351503Z", "endTime": "2023-01-18T10:40:16.076723Z", "status": "Succeeded", "correlation": { "clientTrackingId": "08585275684706515046920712853CU00" }, "inputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/triggers/manual/histories/08585275684706515046920712853CU00/contents/TriggerInputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-01-18T18%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08585275684706515046920712853CU00%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 2 }, "outputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/triggers/manual/histories/08585275684706515046920712853CU00/contents/TriggerOutputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-01-18T18%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08585275684706515046920712853CU00%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 1561 }, "fired": true, "run": { "id": "/workflows/DemoHTTP/runs/08585275684706515046920712853CU00" }, "workflow": { "id": "/workflows/DemoHTTP/versions/08585275696431326846", "name": "08585275696431326846", "type": "workflows/versions" } }, "id": "/workflows/DemoHTTP/triggers/manual/histories/08585275684706515046920712853CU00", "name": "08585275684706515046920712853CU00", "type": "workflows/triggers/histories"}List Trigger Histories
This operation allows you to get a list of workflow trigger histories.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
triggerName | path | True | string | The workflow trigger name |
api-version | query | True | string | The API version. |
$filter | query | False | string | The filter to apply on the operation. Options for filters include Status, StartTime, and ClientTrackingId. |
$top | query | False | integer int32 | The number of items to be included in the result. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/triggers/manual/histories?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 65 lines
{ "value": [ { "properties": { "startTime": "2023-01-18T14:42:06.1143808Z", "endTime": "2023-01-18T14:42:06.1819003Z", "sourceTriggerHistoryName": "08585283476504944788005579297CU00", "status": "Succeeded", "correlation": { "clientTrackingId": "08585283476504944788005579297CU00" }, "inputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/triggers/manual/histories/08585275539593738380631474873CU00/contents/TriggerInputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-01-18T19%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08585275539593738380631474873CU00%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 2 }, "outputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/triggers/manual/histories/08585275539593738380631474873CU00/contents/TriggerOutputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-01-18T19%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08585275539593738380631474873CU00%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 1144 }, "fired": true, "run": { "id": "/workflows/DemoHTTP/runs/08585275539593738380631474873CU00" }, "workflow": { "id": "/workflows/DemoHTTP/versions/08585275696431326846", "name": "08585275696431326846", "type": "workflows/versions" } }, "id": "/workflows/DemoHTTP/triggers/manual/histories/08585275539593738380631474873CU00", "name": "08585275539593738380631474873CU00", "type": "workflows/triggers/histories" }, { "properties": { "startTime": "2023-01-18T14:39:52.2183765Z", "endTime": "2023-01-18T14:39:52.8736766Z", "status": "Succeeded", "correlation": { "clientTrackingId": "08585275540932690201969812640CU00" }, "inputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/triggers/manual/histories/08585275540932690201969812640CU00/contents/TriggerInputs?api-version=2018-11-01&code=XXXXXX%3d%3d&se=2023-01-18T19%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08585275540932690201969812640CU00%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=XXXXXX", "contentSize": 2 }, "outputsLink": { "uri": "https://XXXXXX.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/XXXXXX/triggers/manual/histories/08585275540932690201969812640CU00/contents/TriggerOutputs?api-version=2018-11-01&code=XXXXXX%3d&se=2023-01-18T19%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08585275540932690201969812640CU00%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=XXXXXXX", "contentSize": 3785 }, "fired": true, "run": { "id": "/workflows/DemoHTTP/runs/08585275540932690201969812640CU00" }, "workflow": { "id": "/workflows/DemoHTTP/versions/08585275696431326846", "name": "08585275696431326846", "type": "workflows/versions" } }, "id": "/workflows/DemoHTTP/triggers/manual/histories/08585275540932690201969812640CU00", "name": "08585275540932690201969812640CU00", "type": "workflows/triggers/histories" } ]}Resubmit
This operation allows you to resubmit a workflow run based on the trigger history.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}/resubmit?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
workflowName | path | True | string | The workflow name. |
triggerName | path | True | string | The workflow trigger name |
historyName | path | True | string | The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
202 Accepted | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
POST https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/hostruntime/runtime/webhooks/workflow/api/management/workflows/DemoHTTP/triggers/manual/histories/08585275539593738380631474873CU00/resubmit?api-version=2018-11-01
Sample Response:
Status Code: 202 Accept
Logic App
These are the available operations:
- List By Resource Group: Gets a list of Logic Apps Standard apps by resource group.
- List By Subscription: Gets a list of Logic Apps Standard apps by subscription.
- List Metadata: Gets the metadata of a Logic Apps Standard app.
- List Application Settings: Description for Gets the application settings of an app.
- Update Application Settings: Description for Replaces the application settings of an app.
- Get: get details of the Logic App Standard app.
- Get Tags: Gets the entire set of tags of the Logic App Standard app.
- Update Tags: Update the entire set of tags on the Logic App Standard app
- Get Configuration: Gets the configuration of a Logic App Standard, such as platform version and bitness, default documents, virtual applications, Always On, etc.
- Get Functions Host Status: Gets the status of your Logic App Standard app and some runtime overview settings.
- Get Workflow Connectors: Get the list of connectors used by the workflows: Service Provider Connections and Managed API Connections.
Of course, and because behind the scenes Logic App Standards is a specific type of Web App, many more Web Apps REST API’s methods can be used in the context of Logic App Standards, for the goal of this paper <I choose to highlight the above list of methods.
You can find more information about all Web Apps REST API’s here: Web Apps.
List By Resource Group
This operation allows you to get a list of Logic App Standard apps by resource group.
Request URL:
POST https://management.azure.com/providers/Microsoft.ResourceGraph/resources?api-version=2021-03-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
api-version | query | True | string | The API version. |
Request Body:
Name | Required | Type | Description |
|---|---|---|---|
query | True | string | The resources query. |
facets | An array of facet requests to be computed against the query result. | ||
managementGroupId | string | The management group identifier. | |
options | The query evaluation options | ||
subscriptions | string[] | Azure subscriptions against which to execute the query. |
Request Body Sample | JSON | 12 lines
{ "query": "resources|where type =~ 'microsoft.web/sites' and kind contains 'workflowapp'|where (resourceGroup =~ ('<resource-group-name>))", "options": { "$top": 100, "$skip": 0, "$skipToken": "", "resultFormat": "table" }, "subscriptions": [ "<subscriptionId>" ]}The important topics here is to add the name of the workflow where it says <name-of-the-workflow> and on the Kind attribute the values can be Stateful or Stateless.
Mandatory headers:
- Authorization
- Content-Type: application/json
Response:
Name | Type | Description |
|---|---|---|
200 OK | Result of the query operation | |
Other Status Codes | An error occurred while processing the request. See the error.code parameter to identify the specific error. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
POST https://management.azure.com/providers/Microsoft.ResourceGraph/resources?api-version=2021-03-01
Request Body | JSON | 12 lines
{ "query": "resources|where type =~ 'microsoft.web/sites' and kind contains 'workflowapp'|where (resourceGroup =~ ('rg-demo-lastd-main'))", "options": { "$top": 100, "$skip": 0, "$skipToken": "", "resultFormat": "table" }, "subscriptions": [ "xxxxx" ]}Sample Response:
Status Code: 200
Response Body | JSON | 193 lines
{"totalRecords": 1,"count": 1,"data": {"columns": [{ "name": "id","type": "string" },{ "name": "name", "type": "string" },{ "name": "type", "type": "string" },{ "name": "tenantId", "type": "string" },{ "name": "kind", "type": "string" },{ "name": "location", "type": "string" },{ "name": "resourceGroup", "type": "string" },{ "name": "subscriptionId", "type": "string" },{ "name": "managedBy", "type": "string" },{ "name": "sku", "type": "object" },{ "name": "plan", "type": "object" },{ "name": "properties", type": "object" },{ "name": "tags", "type": "object" },{ "name": "identity", "type": "object" },{ "name": "zones", "type": "object" },{ "name": "extendedLocation", type": "object" }],"rows": [["/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error","LASTD-LA-WITH-Error","microsoft.web/sites","09e251dc-5e87-48bf-b4d2-71b01adb984a","functionapp,workflowapp","westeurope","rg-demo-lastd-main","b94b9ca7-f590-4874-a721-6398af1f3ac8","", null, null,{"name": "LASTD-LA-WITH-Error","publicNetworkAccess": null,"privateEndpointConnections": [],"enabled": true,"keyVaultReferenceIdentity": "SystemAssigned","state": "Running","hostingEnvironmentProfile": null,"vnetRouteAllEnabled": false,"hostingEnvironment": null, "hostingEnvironmentId": null,"domainVerificationIdentifiers": null,"useContainerLocalhostBindings": null,"storageRecoveryDefaultState": "Running","possibleOutboundIpAddresses": "xxxxxx","functionExecutionUnitsCache": null,"customDomainVerificationId": "xxxxx","possibleInboundIpAddresses": "20.105.232.18","containerAllocationSubnet": null, "clientCertExclusionPaths": null,"contentAvailabilityState": "Normal","runtimeAvailabilityState": "Normal","vnetContentShareEnabled": false,"trafficManagerHostNames": null, "virtualNetworkSubnetId": null,"storageAccountRequired": false, "privateLinkIdentifiers": null,"resourceGroup": "RG-DEMO-LASTD-MAIN","clientAffinityEnabled": false,"eligibleLogCategories": "WorkflowRuntime,FunctionAppLogs","inProgressOperationId": null, "dailyMemoryTimeQuota": 0,"vnetImagePullEnabled": false, "defaultHostNameScope": "Global","serverFarmId": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/serverfarms/ASP-RGDEMOLASTDMAIN-xxxx","sku": "WorkflowStandard", "outboundIpAddresses": "xxxxxx","lastModifiedTimeUtc": "2023-01-09T10:13:21.9700000Z","scmSiteAlsoStopped": false, "targetBuildVersion": null,"maxNumberOfWorkers": null, "siteDisabledReason": 0,"repositorySiteName": "LASTD-LA-WITH-Error","clientCertEnabled": false, "hostNamesDisabled": false,"hostNameSslStates": [{"name": "lastd-la-with-error.azurewebsites.net","toUpdateIpBasedSsl": null, "ipBasedSslResult": null,"ipBasedSslState": "NotConfigured","thumbprint": null, "virtualIP": null,"hostType": "Standard", "sslState": "Disabled","toUpdate": null},{"name": "lastd-la-with-error.scm.azurewebsites.net","toUpdateIpBasedSsl": null, "ipBasedSslResult": null,"ipBasedSslState": "NotConfigured","thumbprint": null, "virtualIP": null,"hostType": "Repository","sslState": "Disabled","toUpdate": null}],"availabilityState": "Normal","enabledHostNames": ["lastd-la-with-error.azurewebsites.net","lastd-la-with-error.scm.azurewebsites.net"],"inboundIpAddress": "xxxxx", "geoDistributions": null,"dnsConfiguration": {}, "computeMode": null,"sslCertificates": null,"defaultHostName": "lastd-la-with-error.azurewebsites.net","deploymentId": "LASTD-LA-WITH-Error","redundancyMode": "None", "clientCertMode": "Required","targetSwapSlot": null, "migrationState": null,"siteProperties": {"properties": [{ "name": "LinuxFxVersion", "value": "" },{ "name": "WindowsFxVersion", "value": null }],"metadata": null, "appSettings": null},"slotSwapStatus": null,"webSpace": "RG-DEMO-LASTD-MAIN-WestEuropewebspace","containerSize": 1536, "suspendedTill": null,"hostNames": ["lastd-la-with-error.azurewebsites.net"],"buildVersion": null, "adminEnabled": true,"ftpsHostName": "ftps://xxxxxx.ftp.azurewebsites.windows.net/site/wwwroot","reserved": false, siteMode": null,"ftpUsername": "LASTD-LA-WITH-Error\\$LASTD-LA-WITH-Error","cloningInfo": null, "isXenon": false,"siteConfig": {"publicNetworkAccess": null, "keyVaultReferenceIdentity": null,"functionsRuntimeScaleMonitoringEnabled": null,"vnetRouteAllEnabled": null,"scmIpSecurityRestrictionsDefaultAction": null,"ipSecurityRestrictionsDefaultAction": null,"scmIpSecurityRestrictionsUseMain": null,"customAppPoolIdentityTenantState": null,"customAppPoolIdentityAdminState": null, "metadata": null,"detailedErrorLoggingEnabled": null,"minimumElasticInstanceCount": 1,"acrUseManagedIdentityCreds": false,"scmIpSecurityRestrictions": null,"xManagedServiceIdentityId": null,"azureMonitorLogCategories": null,"managedServiceIdentityId": null,"supportedTlsCipherSuites": null,"acrUserManagedIdentityID": null,"elasticWebAppScaleLimit": null,"windowsConfiguredStacks": null,"ipSecurityRestrictions": null, "logsDirectorySizeLimit": null,"remoteDebuggingEnabled": null, "remoteDebuggingVersion": null,"preWarmedInstanceCount": null, "appSettings": null,"fileChangeAuditEnabled": null, "numberOfWorkers": 1,"requestTracingEnabled": null, "use32BitWorkerProcess": null,"functionAppScaleLimit": 0, "vnetPrivatePortsCount": null,"runtimeADUserPassword": null, "azureStorageAccounts": null,"javaContainerVersion": null, "antivirusScanEnabled": null,"netFrameworkVersion": null, "virtualApplications": null,"managedPipelineMode": null, "apiManagementConfig": null,"httpLoggingEnabled": null, publishingUsername": null,"winAuthTenantState": null, "publishingPassword": null,"webSocketsEnabled": null, "localMySqlEnabled": null,"powerShellVersion": null, "connectionStrings": null,"winAuthAdminState": null, "minTlsCipherSuite": null,"scmMinTlsVersion": null, "defaultDocuments": null,"windowsFxVersion": null, "autoSwapSlotName": null,"autoHealEnabled": null, "websiteTimeZone": null,"http20ProxyFlag": null, handlerMappings": null,"healthCheckPath": null, linuxFxVersion": "","appCommandLine": null, "tracingOptions": null,"minTlsVersion": null, "http20Enabled": false,"loadBalancing": null, "javaContainer": null,"autoHealRules": null, "apiDefinition": null,"pythonVersion": null, "runtimeADUser": null,"routingRules": null, "documentRoot": null, "storageType": null,"experiments": null, nodeVersion": null, "javaVersion": null,"machineKey": null, "phpVersion": null, "limits": null,"ftpsState": null, "vnetName": null, "alwaysOn": false,"sitePort": null, "scmType": null, "cors": null, "push": null},"serverFarm": null, "usageState": "Normal","selfLink": "https://xxxxxx.api.azurewebsites.windows.net:454/subscriptions/xxxxx/webspaces/RG-DEMO-LASTD-MAIN-WestEuropewebspace/sites/LASTD-LA-WITH-Error","httpsOnly": true, "hyperV": false,"homeStamp": "waws-prod-am2-605", "slotName": null,"kind": "functionapp,workflowapp","tags": {"hidden-link: /app-insights-resource-id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error"},"owner": null, "cers": null, "csrs": []},{"hidden-link: /app-insights-resource-id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error"},{"principalId": "xxxxx","tenantId": "xxxxx","type": "SystemAssigned"},null,null]]},"facets": [],"resultTruncated": "false"}List By Subscription
This operation allows you to get a list of Logic App Standard apps by Subscription Id.
Request URL:
POST https://management.azure.com/providers/Microsoft.ResourceGraph/resources?api-version=2021-03-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
api-version | query | True | string | The API version. |
Request Body:
Name | Required | Type | Description |
|---|---|---|---|
query | True | string | The resources query. |
facets | An array of facet requests to be computed against the query result. | ||
managementGroupId | String | The management group identifier. | |
options | The query evaluation options | ||
subscriptions | string[] | Azure subscriptions against which to execute the query. |
Request Body Sample | JSON | 12 lines
{ "query": "resources|where type =~ 'microsoft.logic/workflows' or (type =~ 'microsoft.web/sites' and kind contains 'workflowapp')", "options": { "$top": 100, "$skip": 0, "$skipToken": "", "resultFormat": "table" }, "subscriptions": [ "<subscriptionId>" ]}Response:
Name | Type | Description |
|---|---|---|
200 OK | Result of the query operation |
Sample Request:
Authorization: Bearer …
Content-type: application/json
POST https://management.azure.com/providers/Microsoft.ResourceGraph/resources?api-version=2021-03-01
Request Body | JSON | 12 lines
{ "query": "resources|where type =~ 'microsoft.logic/workflows' or (type =~ 'microsoft.web/sites' and kind contains 'workflowapp')", "options": { "$top": 100, "$skip": 0, "$skipToken": "", "resultFormat": "table" }, "subscriptions": [ "XXXXXX" ]}Sample Response:
Status Code: 200
Response Body: Same response result as the previous operation – List by resource group.
List Metadata
This operation allows you to get the metadata of a Logic Apps Standard app.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/config/metadata/list?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
404 Not Found | Not found. | |
Other Status Codes | An error occurred while processing the request. See the error.code parameter to identify the specific error. |
Sample Request:
Authorization: Bearer …
POST https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/config/metadata/list?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 10 lines
{ "id": "/subscriptions/XXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/config/metadata", "name": "metadata", "type": "Microsoft.Web/sites/config", "location": "West Europe", "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error" }, "properties": {}}List Application Settings
This operation allows you to get the application settings of a Logic App Standard app.
Request URL:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/config/appsettings/list?api-version=2022-03-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Mandatory headers:
- Authorization
- Content-Type: application/json
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | App Service error response. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
Request Body | JSON | 3 lines
{ "commandName": "Microsoft_Azure_EMA.getAppSettings"}Sample Response:
Status Code: 200
Response Body | JSON | 23 lines
{ "id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/config/appsettings", "name": "appsettings", "type": "Microsoft.Web/sites/config", "location": "West Europe", "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error" }, "properties": { "FUNCTIONS_EXTENSION_VERSION": "~4", "FUNCTIONS_WORKER_RUNTIME": "node", "WEBSITE_NODE_DEFAULT_VERSION": "~14", "APPINSIGHTS_INSTRUMENTATIONKEY": "XXXXXX", "APPLICATIONINSIGHTS_CONNECTION_STRING": "InstrumentationKey=xxxx;IngestionEndpoint=https://westeurope-x.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/", "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=xxxx;AccountKey=xxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING": "DefaultEndpointsProtocol=https;AccountName=xxxxx;AccountKey=xxxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTSHARE": "lastd-la-with-error8556", "AzureFunctionsJobHost__extensionBundle__id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows", "AzureFunctionsJobHost__extensionBundle__version": "[1.*, 2.0.0)", "APP_KIND": "workflowApp", "Workflows.Demo.FlowState": "Disabled" }}Update Application Settings
This operation allows you to replace the application settings of an app.
Request URL:
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/config/appsettings?api-version= 2022-03-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Request Body Sample | JSON | 23 lines
{ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/config/appsettings", "name": "appsettings", "type": "Microsoft.Web/sites/config", "location": "West Europe", "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{logicAppStdName}" }, "properties": { "FUNCTIONS_EXTENSION_VERSION": "~4", "FUNCTIONS_WORKER_RUNTIME": "node", "WEBSITE_NODE_DEFAULT_VERSION": "~14", "APPINSIGHTS_INSTRUMENTATIONKEY": "…", "APPLICATIONINSIGHTS_CONNECTION_STRING": "InstrumentationKey=…;IngestionEndpoint=https://westeurope…applicationinsights.azure.com/;LiveEndpoint=https://westeurope…monitor.azure.com/", "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=…;AccountKey=…;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING": "DefaultEndpointsProtocol=https;AccountName=…;AccountKey=…;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTSHARE": "…", "AzureFunctionsJobHost__extensionBundle__id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows", "AzureFunctionsJobHost__extensionBundle__version": "[1.*, 2.0.0)", "APP_KIND": "workflowApp", "Workflows.<name-of-the-workflow.FlowState": "Disabled" }}Mandatory headers:
- Authorization
- Content-Type: application/json
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | App Service error response. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
PUT https://management.azure.com/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/config/appsettings?api-version=2018-11-01
Request Body | JSON | 23 lines
{ "id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/config/appsettings", "name": "appsettings", "type": "Microsoft.Web/sites/config", "location": "West Europe", "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error" }, "properties": { "FUNCTIONS_EXTENSION_VERSION": "~4", "FUNCTIONS_WORKER_RUNTIME": "node", "WEBSITE_NODE_DEFAULT_VERSION": "~14", "APPINSIGHTS_INSTRUMENTATIONKEY": "0a5b9a2c-431f-4b10-9c1d-ab0b6b0fb139", "APPLICATIONINSIGHTS_CONNECTION_STRING": "InstrumentationKey=xxxx;IngestionEndpoint=https://westeurope-x.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/", "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=xxxx;AccountKey=xxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING": "DefaultEndpointsProtocol=https;AccountName=xxxxx;AccountKey=xxxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTSHARE": "lastd-la-with-error8556", "AzureFunctionsJobHost__extensionBundle__id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows", "AzureFunctionsJobHost__extensionBundle__version": "[1.*, 2.0.0)", "APP_KIND": "workflowApp", "Workflows.Demo.FlowState": "Disabled" }}Sample Response:
Status Code: 200
Response Body | JSON | 23 lines
{ "id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/config/appsettings", "name": "appsettings", "type": "Microsoft.Web/sites/config", "location": "West Europe", "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/xxxxx/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error" }, "properties": { "FUNCTIONS_EXTENSION_VERSION": "~4", "FUNCTIONS_WORKER_RUNTIME": "node", "WEBSITE_NODE_DEFAULT_VERSION": "~14", "APPINSIGHTS_INSTRUMENTATIONKEY": "0a5b9a2c-431f-4b10-9c1d-ab0b6b0fb139", "APPLICATIONINSIGHTS_CONNECTION_STRING": "InstrumentationKey=xxxx;IngestionEndpoint=https://westeurope-x.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/", "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=xxxx;AccountKey=xxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING": "DefaultEndpointsProtocol=https;AccountName=xxxxx;AccountKey=xxxxx;EndpointSuffix=core.windows.net", "WEBSITE_CONTENTSHARE": "lastd-la-with-error8556", "AzureFunctionsJobHost__extensionBundle__id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows", "AzureFunctionsJobHost__extensionBundle__version": "[1.*, 2.0.0)", "APP_KIND": "workflowApp", "Workflows.Demo.FlowState": "Disabled" }}Get
This operation allows you to get details of the Logic App Standard.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
404 Not Found | Not found. | |
Other Status Codes | An error occurred while processing the request. See the error.code parameter to identify the specific error. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 136 lines
{"id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error","name": "LASTD-LA-WITH-Error","type": "Microsoft.Web/sites","kind": "functionapp,workflowapp","location": "West Europe","tags": {"hidden-link: /app-insights-resource-id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error"},"properties": {"name": "LASTD-LA-WITH-Error","state": "Running","hostNames": ["lastd-la-with-error.azurewebsites.net"],"webSpace": "RG-DEMO-LASTD-MAIN-WestEuropewebspace","selfLink": "https://waws-prod-XXX-XXX.api.azurewebsites.windows.net:XXX/subscriptions/XXXXXX/webspaces/RG-DEMO-LASTD-MAIN-WestEuropewebspace/sites/LASTD-LA-WITH-Error","repositorySiteName": "LASTD-LA-WITH-Error","owner": null, "usageState": "Normal","enabled": true, "adminEnabled": true,"enabledHostNames": ["lastd-la-with-error.azurewebsites.net","lastd-la-with-error.scm.azurewebsites.net"],"siteProperties": {"metadata": null,"properties": [{"name": "LinuxFxVersion", "value": ""},{"name": "WindowsFxVersion","value": null}],"appSettings": null},"availabilityState": "Normal", sslCertificates": null, "csrs": [],"cers": null, "siteMode": null,"hostNameSslStates": [{"name": "lastd-la-with-error.azurewebsites.net","sslState": "Disabled","ipBasedSslResult": null, "virtualIP": null, "thumbprint": null,"toUpdate": null, "toUpdateIpBasedSsl": null,"ipBasedSslState": "NotConfigured",hostType": "Standard"},{"name": "lastd-la-with-error.scm.azurewebsites.net","sslState": "Disabled","ipBasedSslResult": null,"virtualIP": null, thumbprint": null, "toUpdate": null,"toUpdateIpBasedSsl": null, "ipBasedSslState": "NotConfigured","hostType": "Repository"}],"computeMode": null, "serverFarm": null,"serverFarmId": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/serverfarms/ASP-RGDEMOLASTDMAIN-b59a","reserved": false, "isXenon": false, "hyperV": false,"lastModifiedTimeUtc": "2023-01-29T23:45:49.86","storageRecoveryDefaultState": "Running","contentAvailabilityState": "Normal","runtimeAvailabilityState": "Normal", dnsConfiguration": {},"vnetRouteAllEnabled": false, "containerAllocationSubnet": null,"useContainerLocalhostBindings": null, "vnetImagePullEnabled": false,"vnetContentShareEnabled": false,"siteConfig": {"numberOfWorkers": 1, "defaultDocuments": null, "netFrameworkVersion": null,"phpVersion": null, "pythonVersion": null, "nodeVersion": null,"powerShellVersion": null, "linuxFxVersion": "","windowsFxVersion": null,"windowsConfiguredStacks": null, "requestTracingEnabled": null,"remoteDebuggingEnabled": null, "remoteDebuggingVersion": null,"httpLoggingEnabled": null, "azureMonitorLogCategories": null,"acrUseManagedIdentityCreds": false, "acrUserManagedIdentityID": null,"logsDirectorySizeLimit": null, "detailedErrorLoggingEnabled": null,"publishingUsername": null, publishingPassword": null,"appSettings": null, "metadata": null, "connectionStrings": null,"machineKey": null, "handlerMappings": null, "documentRoot": null,"scmType": null, "use32BitWorkerProcess": null, "webSocketsEnabled": null,"alwaysOn": false, "javaVersion": null, "javaContainer": null,"javaContainerVersion": null, "appCommandLine": null,"managedPipelineMode": null, "virtualApplications": null,"winAuthAdminState": null, "winAuthTenantState": null,"customAppPoolIdentityAdminState": null,"customAppPoolIdentityTenantState": null, "runtimeADUser": null,"runtimeADUserPassword": null, "loadBalancing": null, "routingRules": null,"experiments": null, "limits": null, "autoHealEnabled": null,"autoHealRules": null, "tracingOptions": null, "vnetName": null,"vnetRouteAllEnabled": null, "vnetPrivatePortsCount": null,"publicNetworkAccess": null, "cors": null, "push": null,"apiDefinition": null, "apiManagementConfig": null,"autoSwapSlotName": null, "localMySqlEnabled": null,"managedServiceIdentityId": null, "xManagedServiceIdentityId": null,"keyVaultReferenceIdentity": null, "ipSecurityRestrictions": null,"ipSecurityRestrictionsDefaultAction": null,"scmIpSecurityRestrictions": null,"scmIpSecurityRestrictionsDefaultAction": null,"scmIpSecurityRestrictionsUseMain": null, "http20Enabled": false,"minTlsVersion": null, "minTlsCipherSuite": null,"supportedTlsCipherSuites": null, "scmMinTlsVersion": null,"ftpsState": null, "preWarmedInstanceCount": null,"functionAppScaleLimit": 0, "elasticWebAppScaleLimit": null,"healthCheckPath": null, "fileChangeAuditEnabled": null,"functionsRuntimeScaleMonitoringEnabled": null,"websiteTimeZone": null, "minimumElasticInstanceCount": 1,"azureStorageAccounts": null, "http20ProxyFlag": null,"sitePort": null, "antivirusScanEnabled": null, "storageType": null},"deploymentId": "LASTD-LA-WITH-Error","slotName": null,"trafficManagerHostNames": null, "sku": "WorkflowStandard","scmSiteAlsoStopped": false, "targetSwapSlot": null,"hostingEnvironment": null, "hostingEnvironmentProfile": null,"clientAffinityEnabled": false, "clientCertEnabled": false,"clientCertMode": "Required","clientCertExclusionPaths": null,"hostNamesDisabled": false,«"domainVerificationIdentifiers": null,"customDomainVerificationId": "XXXXXX", "kind": "functionapp,workflowapp","inboundIpAddress": "XXXXXX","possibleInboundIpAddresses": "XXXXXX","ftpUsername": "LASTD-LA-WITH-Error\\$LASTD-LA-WITH-Error","ftpsHostName": "ftps://waws-prod-XXX-XXX.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses": "XXXXXX", "possibleOutboundIpAddresses": "XXXXXX","containerSize": 1536, "dailyMemoryTimeQuota": 0, suspendedTill": null,"siteDisabledReason": 0, "functionExecutionUnitsCache": null,"maxNumberOfWorkers": null, "homeStamp": "waws-prod-XXX-XXX","cloningInfo": null, "hostingEnvironmentId": null,"tags": {"hidden-link: /app-insights-resource-id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error"},"resourceGroup": "RG-DEMO-LASTD-MAIN","defaultHostName": "lastd-la-with-error.azurewebsites.net","slotSwapStatus": null, "httpsOnly": true, "redundancyMode": "None","inProgressOperationId": null, "geoDistributions": null,"privateEndpointConnections": [],"publicNetworkAccess": null,"buildVersion": null, "targetBuildVersion": null,"migrationState": null,"eligibleLogCategories": "WorkflowRuntime,FunctionAppLogs","storageAccountRequired": false, "virtualNetworkSubnetId": null,"keyVaultReferenceIdentity": "SystemAssigned","defaultHostNameScope": "Global","privateLinkIdentifiers": null},"identity": {"type": "SystemAssigned","tenantId": "XXXXXX","principalId": "XXXXXX"}}Get Tags
This operation allows you to get the entire set of tags on the Logic App Standard app.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/providers/Microsoft.Resources/tags/default?api-version=2022-09-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
404 Not Found | Not found. | |
Other Status Codes | An error occurred while processing the request. See the error.code parameter to identify the specific error. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/providers/Microsoft.Resources/tags/default?api-version=2022-09-01
Sample Response:
Status Code: 200
Response Body | JSON | 11 lines
{ "id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error", "Demo": "Test" } }}Update Tags
This operation allows you to update the entire set of tags on the Logic App Standard app.
Request URL:
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/providers/Microsoft.Resources/tags/default?api-version=2022-09-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Request Body;
Name | Type | Description |
|---|---|---|
id | string | The ID of the tag’s wrapper resource. |
name | string | The name of the tags wrapper resource. |
properties | The set of tags. | |
type | string | The type of the tags wrapper resource. |
Request Body Sample | JSON | 10 lines
{"id": "<id>","name": "default","type": "Microsoft.Resources/tags","properties": {"tags": {<list-of-tags-key-value-pair>}}}Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
404 Not Found | Not found. | |
Other Status Codes | An error occurred while processing the request. See the error.code parameter to identify the specific error. |
Sample Request:
Authorization: Bearer …
PATCH https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/providers/Microsoft.Resources/tags/default?api-version=2022-09-01
Request Body | JSON | 12 lines
{ "id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error", "Demo": "Test", "Demo2": "Test2" } }}Sample Response:
Status Code: 200
Response Body | JSON | 12 lines
{ "id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { "tags": { "hidden-link: /app-insights-resource-id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error", "Demo": "Test", "Demo2": "Test2" } }}Get Configuration
This operation allows you to get the configuration of a Logic App Standard, such as platform version and bitness, default documents, virtual applications, Always On, etc.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/config/web?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
404 Not Found | Not found. | |
Other Status Codes | An error occurred while processing the request. See the error.code parameter to identify the specific error. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 136 lines
{"id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error","name": "LASTD-LA-WITH-Error","type": "Microsoft.Web/sites","kind": "functionapp,workflowapp","location": "West Europe","tags": {"hidden-link: /app-insights-resource-id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error"},"properties": {"name": "LASTD-LA-WITH-Error","state": "Running","hostNames": ["lastd-la-with-error.azurewebsites.net"],"webSpace": "RG-DEMO-LASTD-MAIN-WestEuropewebspace","selfLink": "https://waws-prod-XXX-XXX.api.azurewebsites.windows.net:XXX/subscriptions/XXXXXX/webspaces/RG-DEMO-LASTD-MAIN-WestEuropewebspace/sites/LASTD-LA-WITH-Error","repositorySiteName": "LASTD-LA-WITH-Error","owner": null, "usageState": "Normal","enabled": true, "adminEnabled": true,"enabledHostNames": ["lastd-la-with-error.azurewebsites.net","lastd-la-with-error.scm.azurewebsites.net"],"siteProperties": {"metadata": null,"properties": [{"name": "LinuxFxVersion", "value": ""},{"name": "WindowsFxVersion","value": null}],"appSettings": null},"availabilityState": "Normal", sslCertificates": null, "csrs": [],"cers": null, "siteMode": null,"hostNameSslStates": [{"name": "lastd-la-with-error.azurewebsites.net","sslState": "Disabled","ipBasedSslResult": null, "virtualIP": null, "thumbprint": null,"toUpdate": null, "toUpdateIpBasedSsl": null,"ipBasedSslState": "NotConfigured",hostType": "Standard"},{"name": "lastd-la-with-error.scm.azurewebsites.net","sslState": "Disabled","ipBasedSslResult": null,"virtualIP": null, thumbprint": null, "toUpdate": null,"toUpdateIpBasedSsl": null, "ipBasedSslState": "NotConfigured","hostType": "Repository"}],"computeMode": null, "serverFarm": null,"serverFarmId": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/serverfarms/ASP-RGDEMOLASTDMAIN-b59a","reserved": false, "isXenon": false, "hyperV": false,"lastModifiedTimeUtc": "2023-01-29T23:45:49.86","storageRecoveryDefaultState": "Running","contentAvailabilityState": "Normal","runtimeAvailabilityState": "Normal", dnsConfiguration": {},"vnetRouteAllEnabled": false, "containerAllocationSubnet": null,"useContainerLocalhostBindings": null, "vnetImagePullEnabled": false,"vnetContentShareEnabled": false,"siteConfig": {"numberOfWorkers": 1, "defaultDocuments": null, "netFrameworkVersion": null,"phpVersion": null, "pythonVersion": null, "nodeVersion": null,"powerShellVersion": null, "linuxFxVersion": "","windowsFxVersion": null,"windowsConfiguredStacks": null, "requestTracingEnabled": null,"remoteDebuggingEnabled": null, "remoteDebuggingVersion": null,"httpLoggingEnabled": null, "azureMonitorLogCategories": null,"acrUseManagedIdentityCreds": false, "acrUserManagedIdentityID": null,"logsDirectorySizeLimit": null, "detailedErrorLoggingEnabled": null,"publishingUsername": null, publishingPassword": null,"appSettings": null, "metadata": null, "connectionStrings": null,"machineKey": null, "handlerMappings": null, "documentRoot": null,"scmType": null, "use32BitWorkerProcess": null, "webSocketsEnabled": null,"alwaysOn": false, "javaVersion": null, "javaContainer": null,"javaContainerVersion": null, "appCommandLine": null,"managedPipelineMode": null, "virtualApplications": null,"winAuthAdminState": null, "winAuthTenantState": null,"customAppPoolIdentityAdminState": null,"customAppPoolIdentityTenantState": null, "runtimeADUser": null,"runtimeADUserPassword": null, "loadBalancing": null, "routingRules": null,"experiments": null, "limits": null, "autoHealEnabled": null,"autoHealRules": null, "tracingOptions": null, "vnetName": null,"vnetRouteAllEnabled": null, "vnetPrivatePortsCount": null,"publicNetworkAccess": null, "cors": null, "push": null,"apiDefinition": null, "apiManagementConfig": null,"autoSwapSlotName": null, "localMySqlEnabled": null,"managedServiceIdentityId": null, "xManagedServiceIdentityId": null,"keyVaultReferenceIdentity": null, "ipSecurityRestrictions": null,"ipSecurityRestrictionsDefaultAction": null,"scmIpSecurityRestrictions": null,"scmIpSecurityRestrictionsDefaultAction": null,"scmIpSecurityRestrictionsUseMain": null, "http20Enabled": false,"minTlsVersion": null, "minTlsCipherSuite": null,"supportedTlsCipherSuites": null, "scmMinTlsVersion": null,"ftpsState": null, "preWarmedInstanceCount": null,"functionAppScaleLimit": 0, "elasticWebAppScaleLimit": null,"healthCheckPath": null, "fileChangeAuditEnabled": null,"functionsRuntimeScaleMonitoringEnabled": null,"websiteTimeZone": null, "minimumElasticInstanceCount": 1,"azureStorageAccounts": null, "http20ProxyFlag": null,"sitePort": null, "antivirusScanEnabled": null, "storageType": null},"deploymentId": "LASTD-LA-WITH-Error","slotName": null,"trafficManagerHostNames": null, "sku": "WorkflowStandard","scmSiteAlsoStopped": false, "targetSwapSlot": null,"hostingEnvironment": null, "hostingEnvironmentProfile": null,"clientAffinityEnabled": false, "clientCertEnabled": false,"clientCertMode": "Required","clientCertExclusionPaths": null,"hostNamesDisabled": false,«"domainVerificationIdentifiers": null,"customDomainVerificationId": "XXXXXX", "kind": "functionapp,workflowapp","inboundIpAddress": "XXXXXX","possibleInboundIpAddresses": "XXXXXX","ftpUsername": "LASTD-LA-WITH-Error\\$LASTD-LA-WITH-Error","ftpsHostName": "ftps://waws-prod-XXX-XXX.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses": "XXXXXX", "possibleOutboundIpAddresses": "XXXXXX","containerSize": 1536, "dailyMemoryTimeQuota": 0, suspendedTill": null,"siteDisabledReason": 0, "functionExecutionUnitsCache": null,"maxNumberOfWorkers": null, "homeStamp": "waws-prod-XXX-XXX","cloningInfo": null, "hostingEnvironmentId": null,"tags": {"hidden-link: /app-insights-resource-id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error"},"resourceGroup": "RG-DEMO-LASTD-MAIN","defaultHostName": "lastd-la-with-error.azurewebsites.net","slotSwapStatus": null, "httpsOnly": true, "redundancyMode": "None","inProgressOperationId": null, "geoDistributions": null,"privateEndpointConnections": [],"publicNetworkAccess": null,"buildVersion": null, "targetBuildVersion": null,"migrationState": null,"eligibleLogCategories": "WorkflowRuntime,FunctionAppLogs","storageAccountRequired": false, "virtualNetworkSubnetId": null,"keyVaultReferenceIdentity": "SystemAssigned","defaultHostNameScope": "Global","privateLinkIdentifiers": null},"identity": {"type": "SystemAssigned","tenantId": "XXXXXX","principalId": "XXXXXX"}}Get Functions Host Status
This operation allows you to get the status of your Logic App Standard app and some runtime overview settings.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/host/default/properties/status?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-SPMSDN-LASTD-POC/providers/Microsoft.Web/sites/LASTD-SPMSDN-EAI-POC/host/default/properties/status?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 22 lines
{ "id": "/subscriptions/XXXXXX/resourceGroups/RG-SPMSDN-LASTD-POC/providers/Microsoft.Web/sites/LASTD-SPMSDN-EAI-POC/host/default/properties/status", "name": "status", "type": "Microsoft.Web/sites/host/properties", "location": "West Europe", "properties": { "id": "lastd-spmsdn-eai-poc", "state": "Running", "version": "4.14.0.19631", "versionDetails": "4.14.0+fc14864b4fc2a095f8cd92c7f0ca338dbeabd430", "platformVersion": "99.0.10.793", "instanceId": "XXXXXX", "computerName": "pXXXXXX18", "errors": null, "extensionBundle": { "id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows", "version": "1.3.7" }, "processUptime": 312168198, "functionAppContentEditingState": "Unknown" }}Get Workflow Connectors
This operation allows you to get the list of connectors used by the workflows: Service Provider Connections and Managed API Connections.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{logicAppStdName}/workflowsconfiguration/connections?api-version=2018-11-01
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
logicAppStdName | path | True | string | The Logic App Standard name. |
api-version | query | True | string | The API version. |
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | Logic error response describing why the operation failed. |
Sample Request:
Authorization: Bearer …
Content-type: application/json
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-SPMSDN-LASTD-POC/providers/Microsoft.Web/sites/LASTD-SPMSDN-EAI-POC/workflowsconfiguration/connections?api-version=2018-11-01
Sample Response:
Status Code: 200
Response Body | JSON | 73 lines
{ "id": "/subscriptions/XXXXXX/resourceGroups/RG-SPMSDN-LASTD-POC/providers/Microsoft.Web/sites/LASTD-SPMSDN-EAI-POC/workflowsconfiguration/connections", "name": "LASTD-SPMSDN-EAI-POC/connections", "type": "Microsoft.Web/sites/workflowsconfiguration", "location": "West Europe", "properties": { "files": { "connections.json": { "serviceProviderConnections": { "serviceBus": { "parameterValues": { "connectionString": "@appsetting('serviceBus_connectionString')" }, "serviceProvider": { "id": "/serviceProviders/serviceBus" }, "displayName": "sbqueutest" }, "serviceBus-2": { "parameterValues": { "connectionString": "@appsetting('serviceBus_12_connectionString')" }, "serviceProvider": { "id": "/serviceProviders/serviceBus" }, "displayName": "SB-SND-TOPIC" } }, "managedApiConnections": { "servicebus": { "api": { "id": "/subscriptions/XXXXXX/providers/Microsoft.Web/locations/westeurope/managedApis/servicebus" }, "connection": { "id": "/subscriptions/XXXXXXresourceGroups/RG-SPMSDN-LASTD-POC/providers/Microsoft.Web/connections/servicebus" }, "connectionRuntimeUrl": "https://XXXXXX.logic-westeurope.azure-apihub.net/apim/servicebus/XXXXXX", "authentication": { "type": "ManagedServiceIdentity" } }, "servicebus_1": { "api": { "id": "/subscriptions/XXXXXX/providers/Microsoft.Web/locations/westeurope/managedApis/servicebus" }, "connection": { "id": "/subscriptions/XXXXXX/resourceGroups/RG-SPMSDN-LASTD-POC/providers/Microsoft.Web/connections/servicebus-2" }, "connectionRuntimeUrl": "https://XXXXXX.logic-westeurope.azure-apihub.net/apim/servicebus/XXXXXX", "authentication": { "type": "ManagedServiceIdentity" } }, "servicebus_2": { "api": { "id": "/subscriptions/XXXXXX/providers/Microsoft.Web/locations/westeurope/managedApis/servicebus" }, "connection": { "id": "/subscriptions/XXXXXX/resourceGroups/RG-SPMSDN-LASTD-POC/providers/Microsoft.Web/connections/servicebus-3" }, "connectionRuntimeUrl": "https://XXXXXX.logic-westeurope.azure-apihub.net/apim/servicebus/XXXXXX", "authentication": { "type": "ManagedServiceIdentity" } } } } }, "health": { "state": "Healthy" } }}App Service Plans
These are the available operations:
- Get: Gets an App Service plan description.
- List Web Apps: Description for Replaces the application settings of an app.
Of course, App Service Plan has more REST API’s methods, but the focus of this paper is to be bound more about Logic App Standards, and because behind the scenes Logic App Standards use a App Service Plan, I think it is important to focus these two methods.
You can find more information about all App Service Plans REST API’s here: App Service Plans.
Get
This operation allows you to get an App Service plan description.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{serverFarmName}?api-version=2022-03-01 1
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
serverFarmName | path | True | string | Name of the App Service plan. |
api-version | query | True | string | The API version. |
Mandatory headers:
- Authorization
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | App Service error response. | |
404 Not Found | Not found. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/serverfarms/ASP-RGDEMOLASTDMAIN-XXXX?api-version=2016-03-01
Sample Response:
Status Code: 200
Response Body | JSON | 60 lines
{"id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/serverfarms/ASP-RGDEMOLASTDMAIN-XXXX","name": "ASP-RGDEMOLASTDMAIN-XXXX","type": "Microsoft.Web/serverfarms","kind": "elastic","location": "West Europe","tags": {},"properties": {"serverFarmId": 13XXX,"name": "ASP-RGDEMOLASTDMAIN-XXXX","workerSize": 3,"workerSizeId": 3,"workerTierName": null,"numberOfWorkers": 1,"currentWorkerSize": 3,"currentWorkerSizeId": 3,"currentNumberOfWorkers": 1,"status": 0,"webSpace": "RG-DEMO-LASTD-MAIN-WestEuropewebspace","subscription": "b94b9ca7-f590-4874-a721-6398af1f3ac8","adminSiteName": null,"hostingEnvironment": null,"hostingEnvironmentProfile": null,"maximumNumberOfWorkers": 20,"planName": "VirtualDedicatedPlan","adminRuntimeSiteName": null,"computeMode": 1,"siteMode": null,"geoRegion": "West Europe","perSiteScaling": false,"elasticScaleEnabled": true,"maximumElasticWorkerCount": 20,"numberOfSites": 1,"hostingEnvironmentId": null,"isSpot": false,"spotExpirationTime": null,"freeOfferExpirationTime": null,"tags": {},"kind": "elastic","resourceGroup": "RG-DEMO-LASTD-MAIN","reserved": false,"isXenon": false,"hyperV": false,"mdmId": "waws-prod-am2-605_13XXX","targetWorkerCount": 0,"targetWorkerSizeId": 0,"provisioningState": "Succeeded","webSiteId": null,"existingServerFarmIds": null,"kubeEnvironmentProfile": null,"zoneRedundant": false},"sku": {"name": "WS1","tier": "WorkflowStandard","size": "WS1","family": "WS","capacity": 1}}List Web Apps
This operation allows you to get all apps associated with an App Service plan.
Of course, this method returns all types of Web Apps like Functions or Logic App Standard. If you want to restrict this call to get only Logic App Standard witch this App Service Plan is used, then we need to filter them to kind like “functionapp,workflowapp”.
Request URL:
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{serverFarmName}/sites?api-version=2022-03-01 1
URI Parameters:
Name | In | Required | Type | Description |
|---|---|---|---|---|
subscriptionId | path | True | string | The subscription id. |
resourceGroupName | path | True | string | The resource group name. |
serverFarmName | path | True | string | Name of the App Service plan. |
api-version | query | True | string | The API version. |
$filter | query | False | string | Supported filter: $filter=state eq running. Returns only web apps that are currently running |
$skipToken | query | False | string | Skip to a web app in the list of webapps associated with app service plan. If specified, the resulting list will contain web apps starting from (including) the skipToken. Otherwise, the resulting list contains web apps from the start of the list |
$top | query | False | string | List page size. If specified, results are paged. |
Mandatory headers:
- Authorization
Response:
Name | Type | Description |
|---|---|---|
200 OK | OK | |
Other Status Codes | App Service error response. | |
404 Not Found | Not found. |
Sample Request:
Authorization: Bearer …
GET https://management.azure.com/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/serverfarms/ASP-RGDEMOLASTDMAIN-XXXX/sites?api-version=2016-03-01
Sample Response:
Status Code: 200
Response Body | JSON | 193 lines
{ {"value": [{"id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error","name": "LASTD-LA-WITH-Error","type": "Microsoft.Web/serverfarms/sites","kind": "functionapp,workflowapp","tags": {"hidden-link: /app-insights-resource-id": "/subscriptions/XXXXXX/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error"},"properties": {"name": "LASTD-LA-WITH-Error","state": "Running","hostNames": ["lastd-la-with-error.azurewebsites.net"],"webSpace": "RG-DEMO-LASTD-MAIN-WestEuropewebspace","selfLink": "https://waws-prod-am2-605.api.azurewebsites.windows.net:454/websystems/websites/serverfarms/subscriptions/XXXXXX/webspaces/RG-DEMO-LASTD-MAIN-WestEuropewebspace/sites/LASTD-LA-WITH-Error","repositorySiteName": "LASTD-LA-WITH-Error","owner": null,"usageState": 0,"enabled": true,"adminEnabled": true,"enabledHostNames": ["lastd-la-with-error.azurewebsites.net","lastd-la-with-error.scm.azurewebsites.net"],"siteProperties": {"metadata": null,"properties": [{"name": "LinuxFxVersion","value": ""},{"name": "WindowsFxVersion","value": null}],"appSettings": null},"availabilityState": 0, sslCertificates": [],"csrs": [],"cers": null, "siteMode": "Limited","hostNameSslStates": [{"name": "lastd-la-with-error.azurewebsites.net","sslState": 0, "ipBasedSslResult": null,"virtualIP": null, thumbprint": null,"toUpdate": null, "toUpdateIpBasedSsl": null,"ipBasedSslState": 0, "hostType": 0},{"name": "lastd-la-with-error.scm.azurewebsites.net","sslState": 0, "ipBasedSslResult": null,"virtualIP": null, "thumbprint": null,"toUpdate": null, "toUpdateIpBasedSsl": null,"ipBasedSslState": 0,"hostType": 1}],"computeMode": 1,"serverFarm": "ASP-RGDEMOLASTDMAIN-XXXX","serverFarmId": null,"reserved": false, "isXenon": false,"hyperV": false, "lastModifiedTimeUtc": "2023-01-29T23:45:49.86","storageRecoveryDefaultState": "Running","contentAvailabilityState": 0,"runtimeAvailabilityState": 0, "dnsConfiguration": {},"vnetRouteAllEnabled": false, "containerAllocationSubnet": null,"useContainerLocalhostBindings": null, "vnetImagePullEnabled": false,"vnetContentShareEnabled": false,"siteConfig": {"numberOfWorkers": 1, defaultDocuments": null,"netFrameworkVersion": null, "phpVersion": null,"pythonVersion": null, "nodeVersion": null,"powerShellVersion": null, linuxFxVersion": "","windowsFxVersion": null, "windowsConfiguredStacks": null,"requestTracingEnabled": null,"remoteDebuggingEnabled": null,"remoteDebuggingVersion": null, "httpLoggingEnabled": null,"azureMonitorLogCategories": null,"acrUseManagedIdentityCreds": false,"acrUserManagedIdentityID": null,"logsDirectorySizeLimit": null, detailedErrorLoggingEnabled": null,"publishingUsername": null, "publishingPassword": null,"appSettings": null, "metadata": null,"connectionStrings": null, machineKey": null,"handlerMappings": null, "documentRoot": null,"scmType": null, "use32BitWorkerProcess": null,"webSocketsEnabled": null, alwaysOn": false,"javaVersion": null, "javaContainer": null,"javaContainerVersion": null, "appCommandLine": null,"managedPipelineMode": null, virtualApplications": null,"winAuthAdminState": null, "winAuthTenantState": null,"customAppPoolIdentityAdminState": null,"customAppPoolIdentityTenantState": null,"runtimeADUser": null, "runtimeADUserPassword": null,"loadBalancing": null, "routingRules": null,"experiments": null, "limits": null,"autoHealEnabled": null, "autoHealRules": null,"tracingOptions": null, "vnetName": null,"vnetRouteAllEnabled": null, "vnetPrivatePortsCount": null,"publicNetworkAccess": null, "cors": null, "push": null,"apiDefinition": null, "apiManagementConfig": null,"autoSwapSlotName": null, "localMySqlEnabled": null,"managedServiceIdentityId": null,"xManagedServiceIdentityId": null,"keyVaultReferenceIdentity": null,"ipSecurityRestrictions": null,"ipSecurityRestrictionsDefaultAction": null,"scmIpSecurityRestrictions": null,"scmIpSecurityRestrictionsDefaultAction": null,"scmIpSecurityRestrictionsUseMain": null,"http20Enabled": false, "minTlsVersion": null,"minTlsCipherSuite": null, "supportedTlsCipherSuites": null,"scmMinTlsVersion": null, "ftpsState": null,"preWarmedInstanceCount": null, "functionAppScaleLimit": 0,"elasticWebAppScaleLimit": null, "healthCheckPath": null,"fileChangeAuditEnabled": null,"functionsRuntimeScaleMonitoringEnabled": null,"websiteTimeZone": null, "minimumElasticInstanceCount": 1,"azureStorageAccounts": null, "http20ProxyFlag": null,"sitePort": null, "antivirusScanEnabled": null,"storageType": null},"deploymentId": "LASTD-LA-WITH-Error","slotName": null,"trafficManagerHostNames": null,"sku": "WorkflowStandard","scmSiteAlsoStopped": false,"targetSwapSlot": null,"hostingEnvironment": null,"hostingEnvironmentProfile": null,"clientAffinityEnabled": false,"clientCertEnabled": false,"clientCertMode": 0,"clientCertExclusionPaths": null,"hostNamesDisabled": false,"domainVerificationIdentifiers": null,"customDomainVerificationId": "2E52C05A7E084783F763B2AE7A77BE1B4C811A256E3ED666C32C37F178DA8242","kind": "functionapp,workflowapp","inboundIpAddress": "20.105.232.18","possibleInboundIpAddresses": "20.105.232.18","ftpUsername": "LASTD-LA-WITH-Error\\$LASTD-LA-WITH-Error","ftpsHostName": "ftps://waws-prod-am2-605.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses": "20.23.126.238,20.23.126.237,20.23.127.36,20.23.127.138,20.103.77.126,20.103.77.246,20.105.232.18","possibleOutboundIpAddresses": "20.23.122.13,20.23.126.178,20.23.126.182,20.23.124.201,20.23.126.169,20.23.126.213,20.23.126.238,20.23.126.237,20.23.127.36,20.23.127.138,20.103.77.126,20.103.77.246,20.103.76.163,20.76.136.137,20.76.137.83,20.76.137.99,20.76.137.225,20.76.138.6,20.76.138.42,20.76.138.54,20.76.138.62,20.76.138.170,20.76.139.235,20.76.139.238,20.76.140.61,20.76.140.192,20.76.140.201,20.76.141.170,20.76.141.218,20.76.141.230,20.105.232.18","containerSize": 1536,"dailyMemoryTimeQuota": 0,"suspendedTill": null,"siteDisabledReason": 0,"functionExecutionUnitsCache": null,"maxNumberOfWorkers": null,"homeStamp": "waws-prod-am2-605","cloningInfo": null,"hostingEnvironmentId": null,"tags": {"hidden-link: /app-insights-resource-id": "/subscriptions/b94b9ca7-f590-4874-a721-6398af1f3ac8/resourceGroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Insights/components/LASTD-LA-WITH-Error"},"resourceGroup": "RG-DEMO-LASTD-MAIN","defaultHostName": "lastd-la-with-error.azurewebsites.net","slotSwapStatus": null,"msiType": 1,"identityUrl": "https://control-westeurope.identity.azure.net/subscriptions/b94b9ca7-f590-4874-a721-6398af1f3ac8/resourcegroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/credentials/v2/systemassigned?arpid=97596e91-0e70-410d-96eb-3f50caf41ddd&keyid=a3be1167-0b1f-49df-ac53-78de211d9d20&said=7a232fec-ee7a-4bfb-98bc-09e25ca1ff2a&sigver=1.0&tid=09e251dc-5e87-48bf-b4d2-71b01adb984a&sig=S75sqHgHojO8wE03kKxGCW57Z8luY98ka6C67g3-QR0","tenantId": "09e251dc-5e87-48bf-b4d2-71b01adb984a","principalId": "502a43f4-6be0-4844-89d0-a9dfe4513ec8","managedIdentityInformation": {"msiType": 1,"tenantId": "09e251dc-5e87-48bf-b4d2-71b01adb984a","principalId": "502a43f4-6be0-4844-89d0-a9dfe4513ec8","identityUrl": "https://control-westeurope.identity.azure.net/subscriptions/b94b9ca7-f590-4874-a721-6398af1f3ac8/resourcegroups/RG-DEMO-LASTD-MAIN/providers/Microsoft.Web/sites/LASTD-LA-WITH-Error/credentials/v2/systemassigned?arpid=97596e91-0e70-410d-96eb-3f50caf41ddd&keyid=a3be1167-0b1f-49df-ac53-78de211d9d20&said=7a232fec-ee7a-4bfb-98bc-09e25ca1ff2a&sigver=1.0&tid=09e251dc-5e87-48bf-b4d2-71b01adb984a&sig=S75sqHgHojO8wE03kKxGCW57Z8luY98ka6C67g3-QR0","userAssignedIdentities": null,"delegatedResources": null},"httpsOnly": true,"redundancyMode": 0,"inProgressOperationId": null,"geoDistributions": null,"privateEndpointConnections": null,"publicNetworkAccess": null,"buildVersion": null,"targetBuildVersion": null,"migrationState": null,"eligibleLogCategories": "WorkflowRuntime,FunctionAppLogs","storageAccountRequired": false,"virtualNetworkSubnetId": null,"keyVaultReferenceIdentity": "SystemAssigned","defaultHostNameScope": 0,"privateLinkIdentifiers": null}}],"nextLink": null,"id": null}