Azure / Azure/Azure-Functions

Functions V2 - EventHubTrigger - Unable to Start

Open
#1,299 7 comments 2 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

Hi,

I am facing the below error when trying to start my azure functions. The runtime for my azure functions is .netstandard 2.0.

My scenario is this: I have a common library(.netstandard) and 2 azure functions. 1 of the functions has an EventHubTrigger and all was working well. After I add **"Microsoft.Azure.Eventhubs"** to the common library the below error starts occurring. The reason I need this library is because function 2 posts to EH. I have then attempted to remove the library and F1 starting working normally.

```
The listener for function 'xxx' was unable to start.
[13-Aug-19 16:27:51] The listener for function 'xxx' was unable to start. Microsoft.Azure.EventHubs.Processor: Encountered error while fetching the list of EventHub PartitionIds. Microsoft.Azure.EventHubs.Processor: Method not found: 'Microsoft.Azure.EventHubs.EventHubClient Microsoft.Azure.EventHubs.EventHubClient.Create(System.Uri, System.String, Microsoft.Azure.EventHubs.ITokenProvider, System.Nullable`1, Microsoft.Azure.EventHubs.TransportType)'.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.