Function app

Kattekola Mahesh 5 Reputation points
2024-12-04T11:11:45.7+00:00

Hi Team,

We are unable to create the functions inside the function app while creating the function it's throwing an error like "Microsoft.Azure.WebJobs.Extensions.EventHubs: EventHub account connection string 'ESG-IOT_events_IOTHUB' does not exist.Make sure that it is a defined App Setting."

Thanks & regards,

Mahesh

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,578 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Khadeer Ali 4,235 Reputation points Microsoft External Staff
    2024-12-05T11:22:14.9866667+00:00

    Hi Kattekola Mahesh,

    Welcome to the Microsoft Q&A Platform! Thank you for reaching out regarding your query on Function app.

    Based on the error message, it seems that the connection string ESG-IOT_events_IOTHUB is either missing or incorrectly configured in the App Settings of your Function App. Additionally, ensure that your function code is referencing the correct key for accessing the connection string. Before making any updates, please verify that the Event Hub's shared access policy has the appropriate permissions.

    Let us know if you need further assistance!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.