Master Chief
Master Chief

Reputation: 2541

Error while accessing Azure Functions app

I have an Azure App deployed. This app is tested locally (in VS Code) & deployed via Azure Devops (using Azure Pipeline). It successfully runs in local environment while testing. It also has deployment slots enabled.

Bindings used in this Azure Functions are ServiceBus (trigger) and Storage (output). Also the Function App has a package.json in the root of the project for installing the dependencies (as per this article).

When accessing the app in Azure portal I get this error:

enter image description here

When I access the staging slot, I get this error(Error about bindings):

enter image description here

Errors on staging are related to binding errors, but looking at this Integrate page for staging slot it seems they are recognized correctly.

enter image description here

How can I get rid of these errors? What am I missing? Am I missing some extensions of these bindings. And why the error on production slot has the message An error has occurred. with no more detail.

Upvotes: 0

Views: 118

Answers (1)

Alexey Rodionov
Alexey Rodionov

Reputation: 1446

For V2 function you need to register service bus extension using CLI:

https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-register#local-development-azure-functions-core-tools

Upvotes: 1

Related Questions