I've migrated a consumption plan hosted Azure Function to be hosted on a App Service plan. To do so, I had to delete the function and recreated it in the plan. After deploying the function using Azure DevOps I'm getting the following error message
Function (somefunction/somemethod) Error: The binding type(s) 'serviceBusTrigger' are not registered. Please ensure the type is correct and the binding extension is installed.
function.json file
{
"generatedBy": "Microsoft.NET.Sdk.Functions-1.0.24",
"configurationSource": "attributes",
"bindings": [
{
"type": "serviceBusTrigger",
"connection": "ServiceBusConnection",
"queueName": "%queueName%",
"name": "myQueueItem"
}
],
"disabled": false,
"scriptFile": "../bin/somefunction.dll",
"entryPoint": "schema.somefunction.Run"
}
The App is currently on .Net Core 2.1