Share via

Visual Studio Code - teams toolkit - App Creation

Anonymous
2023-09-26T12:57:09+00:00

I am new to app development, So, I am following:

Exercise - Build a bot that can send proactive messages to Microsoft Teams - Training | Microsoft Learn

I have visual Studio code, Teams Toolkit extension & node.js.

I follow the instructions, but at the debug stage I get:

I've looked at the help link - but didn't really know what it was telling me to do.

Can anyone help me get over this first hurdle?

Thanks

Microsoft Teams | Microsoft Teams for business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-09-26T14:26:15+00:00

    Hello

    I’m Adeyemi and I’d be happy to help you with your question.

    The error message you're seeing usually appears when the resources for your app have not been provisioned yet. Here are some steps you can try:

    1. Provision the Resources: Before you can deploy your app, you need to provision the resources it requires. You can do this by selecting the Provision in the Cloud option in the Teams Toolkit. https://github.com/OfficeDev/TeamsFx/issues/4801.
    2. Check Your Environment Variables: If you're seeing a MissingEnvironmentVariablesError, it means that Teams Toolkit can't find the environment variables defined in manifest.json. You may need to run Provision or press F5 to generate environment variables, or manually update .env.xx file to fulfill the value. https://learn.microsoft.com/en-us/microsoftteams/platform/toolkit/teamsfx-preview-and-customize-app-manifest.
    3. Debug Your App: If you're still having trouble, try debugging your app. From "Run and Debug", select "Launch Remote" and start debugging.

    I hope this helps

    Give back to the Community. Help the next person who has this issue by indicating if this reply solved your problem. Click Yes or No below

    Regards Adeyemi

    Was this answer helpful?

    0 comments No comments