Missing Environment Variable 'BOT_ID' While Registering Microsfot Teams Bot App

Muthu Palaniappan 0 Reputation points
2024-08-19T11:51:13.2+00:00

I was able to run the Teams bot app using the Teams Toolkit without any issues. However, when I attempted to configure the bot capability within the Teams app by following the instructions provided in the link below, I have received an error:

How to configure Bot capability within your Teams app

I carefully followed the steps for restructuring the folder as outlined, but I encountered an error during the provision lifecycle stage.User's image

The error being received is

The program cannot proceed as the following environment variables are missing: 'BOT_ID', which are required for file

Typically, the botAadApp/create step in the YAML file should create the bot app and update the environment file with the bot ID and password. Therefore, this error is somewhat confusing.

Could you assist with resolving this issue?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,270 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,320 questions
{count} votes

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.