Fail to provision sample to Azure #1416
Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @dylanw-oss |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Language
Javascript/Typescript
Version
latest
Description
After testing the application on local, trying to provision it to Azure by following this:
https://github.com/microsoft/teams-ai/tree/main/js/samples#deploy-the-bot-to-azure
It failed with below error message:
[arm.MissingEnvironmentVariablesError]: The program cannot proceed as the following environment variables are missing: 'SECRET_OPENAI_KEY', which are required for file: /home/.../infra/azure.parameters.json. Make sure the required variables are set either by editing the .env file '/home/.../env/.env.staging' with the correct names and values , or by setting the system environment variables with the correct names and values. If you are developing with a new project created with Teams Toolkit, running provision or debug will register correct values for these environment variables.
Questions:
Reproduction Steps
Beta Was this translation helpful? Give feedback.
All reactions