Introduction
When you develop a Microsoft Teams app by using the Teams Toolkit for Visual Studio Code extension, at first, most of your resources and your application code are local on your computer.
The next step you'll want to take is to publish your application to a development environment where you can test and validate that your application works as expected and that it works the same as when you run it locally.
You can use the following features in Teams Toolkit to easily publish your applications:
- Provision to the cloud: Provision the required cloud infrastructure resources.
- Deploy to the cloud: Deploy the code to the provisioned infrastructure resources.
- Publish to your organization: Generate an app package to install in Microsoft Teams.
Teams Toolkit simplifies the app deployment and publishing process in the early stages of app development, including locally or in a development tenant. Whether to use Teams Toolkit for deployments to the production environment will depend on developer access to the environment.
Teams Toolkit also enables you to write focused tasks for automating setup and repetitive actions in Teams app development, giving further control to you through a YAML file teamsapp.yml
, offering customization and precise control over automation.
These features help you leverage existing infrastructure, resource group, Teams app/bot, Microsoft Entra app registration, customizable tunneling, and custom steps for debugging, provisioning, deploying, and publishing.
Prerequisites
- Global Administrator access to a Microsoft 365 tenant with uploading Teams custom apps enabled.
- Basic understanding of Microsoft Teams app and its extensibility points (Optional: Recommended completing Introduction to building apps for Microsoft Teams learn module).
- Ability to develop applications by using JavaScript.
- Visual Studio Code with Teams Toolkit extension installed.
- Node JS v16.x or v18.x installed.
- Microsoft Edge, or Google Chrome web browsers installed.
- Azure account and subscription. Get your Azure free account today!
Learning objectives
In this module, you will:
- Learn how to provision Azure resources by using Teams Toolkit for Visual Studio Code.
- Learn how to deploy an app to Azure by using Teams Toolkit.
- Learn different ways you can publish your app to your organization's store by using Teams Toolkit.