Share via

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 | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

Microsoft Teams | Microsoft Teams for business | Other

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.