I created the Azure Function application in Visual Studio 2015. The application has a trigger for service bus queues. The application works fine when I run it locally. It can read data from the service bus queue (configured using the AzureSBConnection variable) and register it in my database.
But this brings me the following error when deploying to Azure:
Function ($ ServiceBusQueueTriggerFunction) Error: Microsoft.Azure.WebJobs.Host: Error Indexing Method 'Functions.ServiceBusQueueTriggerFunction'. Microsoft.Azure.WebJobs.ServiceBus: Microsoft Azure WebJobs SDK ServiceBus connection string "AzureWebJobsAzureSBConnection" is missing or empty.
Please note that my connection is called AzureSBConnection, not AzureWebJobsAzureSBConnection. In addition, the connection works locally. And finally, the deployed file looks exactly like a local file.
The structure of Visual Studio is as follows:

The function.json file has many settings, as shown below:

Then in the Appsettings.json file I have the following:

For deployment, I transferred the FTP files to the folder D: \ home \ site \ wwwroot for my app-application in Azure. The final structure in Kudu looks like this:

And if I go into my function folder:

Here is the expanded .json function:

And here are the detailed appsettings settings:

The deployed json files are exactly the same as the local ones. But the deployed version is an error due to the lack of AzureWebJobsAzureSBConnection. What am I doing wrong?
Yasir source share