I have created an Azure Function to store messages from Azure IoT Hub to Table Storage using built endpoint of EventHub of IoT Hub. I am using Azure Functions v2(.Net Standard) for creating the EventHubTrigger functions.I developed the function and tested it locally and it is working as required. But when I am hosting this function in Azure, it shows the following error in the portal:
Error: The binding type(s) 'eventHubTrigger' are not registered. Please ensure the type is correct and the binding extension is installed.
I have already installed the Microsoft.Azure.WebJobs.Extensions.EventHubs -v 3.0.0-beta4 nuget package in the code.
Can someone help with this error as nothing much is mentioned regarding this in the docs.
Following are the packages installed in the solution:
- Microsoft.NET.Sdk.Functions 1.0.13
- Microsoft.Azure.WebJobs.EventHubs 3.0.0-beta4
- NETStandard.Library v2.0.3