Add cloud resources to Teams app
Microsoft Teams Toolkit allows you to provision the cloud resources for hosting your app. You can add the cloud resources according to your development needs. The advantage of adding more cloud resources in TeamsFx is that you can autogenerate all configuration files and connect to Microsoft Teams app by using Teams Toolkit.
Note
If you've created SharePoint Framework (SPFx) based tab project, you can't add Azure cloud resources.
Add cloud resources
You can add cloud resources in the following ways:
To add cloud resources by using Teams Toolkit in Microsoft Visual Studio Code
Open your Teams app project in Visual Studio Code.
Select Teams Toolkit from the Visual Studio Code activity bar.
Select View How-to Guides in the DEVELOPMENT section.
From the dropdown list that appears, select the cloud service integration you want to add to your app. You're redirected to the respective How-to Guide.
Cloud service integration How-to Guide Integrate with Azure Functions How to Integrate Azure Functions with your Teams app Integrate with Azure SQL Database How to Integrate Azure SQL Database with your Teams app Integrate with Azure API Management How to Integrate Azure API Management with your Teams App and export the API to power app Integrate with Azure Key Vault How to Integrate Azure Key Vault with your Teams app
To add cloud resources by using Command Palette
Open your Teams app project in Visual Studio Code.
Select View > Command Palette... or Ctrl+Shift+P.
Enter How-to Guides and select Teams:View How-to Guides from the list.
From the dropdown list that appears, select the capability you want to add to your app. You're redirected to the respective How-to Guide.
Cloud service integration How-to Guide Integrate with Azure Functions How to Integrate Azure Functions with your Teams app Integrate with Azure SQL Database How to Integrate Azure SQL Database with your Teams app Integrate with Azure API Management How to Integrate Azure API Management with your Teams App and export the API to power app Integrate with Azure Key Vault How to Integrate Azure Key Vault with your Teams app
See also
Platform Docs