Cosmos DB connection configuration 'CosmosDB' does not exist. Make sure that it is a defined App Setting.

Jayanthrowth C V 5 Reputation points
2025-01-10T06:38:47.2033333+00:00

Facing this while connecting cosmosdb with azure function as input as per the training material and facing this 'Cosmos DB connection configuration 'CosmosDB' does not exist. Make sure that it is a defined App Setting.'

This question is related to the following Learning Module

Azure | Azure Training
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-01-16T19:57:39.3+00:00

    Hi Jayanthrowth C V,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    Apologies for the delayed response.In the "Add a Container" section, please use the same names as provided in the module. In the next step, we are running code that relies on these exact names for proper execution, as referenced in the module documentation.

    Additionally, we have tried from our end and successfully completed the exercise, as illustrated in the screenshots provided below:

    User's image

    Cosmos 2

    Please reach out to us if you have any other queries.

    If the information is helpful, please Accept Answer & Upvote so that it would be helpful to other community members.


Your answer

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