Azure / Azure/logicapps

Logic Apps Standard Service Bus In-app Trigger Fails when deployed inside App Service Environment

Open
#1,380 0 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
ABAP
Stars
424
Forks
320
Avg merge
14h 41m
Merged PRs (30d)
1

Description

### Describe the Bug with repro steps

We recently deployed a Logic Apps Inside an App Service Environment.

We now have a problem using the Trigger "When messages are available in a topic" from the Service Bus In-app .

First The trigger never gets fired, even if message a present in the subscription Topic.

If we try to force Run it fails with :

Failed to start a logic app run

Failed to start a run of logic app ServiceBusTest. Cannot read properties of undefined (reading 'headers')

The same Logic Apps Work Perfectly if is deployed outside the App Service Environment.

![Image]()

### What type of Logic App Is this happening in?

Standard (Portal)

### Which operating system are you using?

Windows

### Did you refer to the TSG before filing this issue? [https://aka.ms/lauxtsg]()

Yes

### Workflow JSON

```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": {
"When_messages_are_available_in_a_topic": {
"type": "ServiceProvider",
"inputs": {
"parameters": {
"topicName": "testtopic",
"subscriptionName": "master",
"isSessionsEnabled": false,
"maxMessageBatchSize": 10
},
"serviceProviderConfiguration": {
"connectionName": "serviceBus",
"operationId": "receiveTopicMessages",
"serviceProviderId": "/serviceProviders/serviceBus"
}
},
"splitOn": "@triggerOutputs()?['body']"
}
}
},
"kind": "Stateful"
}
```

### Screenshots or Videos

![Image]()

![Image]()

### Browser

Edge

### Additional context

*No response*

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.