Azure Functions Core Tools: Unsupported triggers?

Maic Schellig 21 Reputation points
2022-10-17T07:45:16.443+00:00

Hi there,

I tried running a logic app workflow with azure functions core tools with the servicebus trigger "When_a_message_is_received_in_a_queue_(auto-complete)" and ran into some problems.
There are no exceptions at all, just a debug message that says: "Workflow '<workflowname>' does not have a mapped function trigger, skipping function metadata injection." The workflow won't be loaded afterwards.

I guess this trigger is not supported yet? Is there a list of supported triggers or is there anything I could have done wrong?

Just for testing, I tried the same with a http trigger and with the servicebus trigger "When messages are available in a queue". Everything was executed as expected.
I am using the newest version of Azure Function Core Tools and the newest version of azurite and so on.
In portal this runs as expected, so I don't see where I could be wrong. 

This is the workflow I tried to run:

{  
    "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_a_message_is_received_in_a_queue_(auto-complete)": {  
                "inputs": {  
                    "host": {  
                        "connection": {  
                            "referenceName": "serviceBus"  
                        }  
                    },  
                    "method": "get",  
                    "path": "/@{encodeURIComponent(encodeURIComponent('queuename'))}/messages/head",  
                    "queries": {  
                        "queueType": "Main"  
                    }  
                },  
                "recurrence": {  
                    "frequency": "Second",  
                    "interval": 15  
                },  
                "type": "ApiConnection"  
            }  
        }  
    },  
    "kind": "Stateful"  
}  

Really would appreciate any help/information about this.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,506 Reputation points
    2022-11-02T07:50:20.037+00:00

    @Anonymous ,

    It appears that the function core tools would only work with the built in triggers in local environments. The Azure triggers might only work in the Azure runtime environment.

    Apologies for the inconvenience caused.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.