Azure WebJobs SDK ServiceBus connection string 'AzureWebJobsAzureSBConnection' is missing or empty

后端 未结 2 1099
无人共我
无人共我 2021-02-15 14:27

I created an Azure Function App in Visual Studio 2015. The App has a trigger for service bus queues. The app works perfectly when I run it locally. It is able to read the data f

2条回答
  •  孤城傲影
    2021-02-15 14:57

    It is able to read the data from the Service Bus queue (configured via a variable named AzureSBConnection) But it gives me the following error when deployed in Azure:

    After you deployed your application to Azure Function, your application will read the connection string from environment setting. Currently, connection settings in appsettings.json will not update environment setting automatically. We could click [Configure app settings] button as @flyte mentioned to check whether the connection string is configured successfully. If not, you could add it manually in app setting box.

    Note that my connection is called AzureSBConnection and not AzureWebJobsAzureSBConnection

    Please go to [Integrate] page to check whether the [Service Bus connection] is configured successfully. If not, you could reset it by clicking the [new] link.

提交回复
热议问题