{"id":20289033,"url":"https://github.com/arjunumenon/teamsfx-deploymentready","last_synced_at":"2025-08-28T09:14:23.844Z","repository":{"id":136324969,"uuid":"564395311","full_name":"arjunumenon/teamsfx-deploymentready","owner":"arjunumenon","description":"The objective of this repository is to provide a template for building a deployable Teams application which is build using Teams Toolkit for Visual Studio Code. This will be useful for scenarios where you need to deploy project built on Teams Toolkit from a different environment than the one where it was built. ","archived":false,"fork":false,"pushed_at":"2022-12-15T15:31:47.000Z","size":1319,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T04:28:57.907Z","etag":null,"topics":["msteams","teamsfx"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arjunumenon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-10T16:16:09.000Z","updated_at":"2022-11-18T05:13:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"3abb7006-d721-4487-b869-c18ff9fcd0ef","html_url":"https://github.com/arjunumenon/teamsfx-deploymentready","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arjunumenon/teamsfx-deploymentready","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunumenon%2Fteamsfx-deploymentready","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunumenon%2Fteamsfx-deploymentready/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunumenon%2Fteamsfx-deploymentready/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunumenon%2Fteamsfx-deploymentready/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arjunumenon","download_url":"https://codeload.github.com/arjunumenon/teamsfx-deploymentready/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunumenon%2Fteamsfx-deploymentready/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272475579,"owners_count":24940719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["msteams","teamsfx"],"created_at":"2024-11-14T14:49:52.546Z","updated_at":"2025-08-28T09:14:23.812Z","avatar_url":"https://github.com/arjunumenon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview of the Deployable Teams Template\n\nThe objective of this repository is to provide a template for building a deployable Teams application which is build using Teams Toolkit for Visual Studio Code. This will be useful for scenarios where you need to deploy project built on Teams Toolkit from a different environment than the one where it was built. For deploying the files, you do not need to install Visual Studio Code or Teams Toolkit. We just need PowerShell and TeamsFx CLI installed on the machine. More details are given in [Pre-requisite section](#prerequisites).\n\nThis respository has a folder named `deploy-scripts` inside the Teams Toolkit Project Folder which contains the scripts to deploy the application to Azure. The `deploy-scripts` folder contains the following files:\n\n1. script-delete-all-buildfiles.ps1\n2. script-deploy-azurefunction.ps1\n3. script-deploy-bots.ps1\n4. script-deploy-complete.ps1\n5. script-deploy-tabs.ps1\n6. script-get-toolkitRootfolder.ps1\n7. script-package-teamsapp.ps1\n8. script-provision-complete.ps1\n\nIf you are interested in knowing the purpose of each script, we have given detailed documentation along with the comments for you to underdstand the purpose of each script.\n\n_Sample Script Screenshot_\n\n![Sample Script Screenshot](./readme-images/script-sample-documentation.png)\n\n## Get Started with the deployment\n\nPlease note that the script deployed is applicable only to the Teams App Project built on Teams toolkit. If you are not familiar with Teams Toolkit, please refer to the [Teams Toolkit Documentation](https://aka.ms/teamsfx-docs). This script was built based on Teams Toolkit Version 4.1.3.\n\n\u003e\n\u003e ### Prerequisites\n\u003e\n\u003e To deploy the Teams App Project, you need to have the following installed on the deployment server:\n\u003e\n\u003e - `PowerShell` installed in the machine\n\u003e - `Node.js` installed locally (recommended version: 16)\n\u003e - `TeamsFx CLI` installed. Refer [here](https://learn.microsoft.com/en-us/microsoftteams/platform/toolkit/teamsfx-cli#get-started) for installing the TeamsFx CLI.\n\u003e\n### Prepare for the transportation of the files for deployment\n\nFirst step before the deployment would be to move the files from the Teams Toolkit folder of the development machine to deployment machine from where the files will be deployed to Azure. For that, we need to ensure that only the required files need to be moved to the deployment server.\nFor doing that, you need to :\n\n\u003e**NOTE**\n\u003e It is recommended to push the files to Git / any source safe before doing the below steps so that none of the needed files are lost**\n\n- Copy the complete folder `deploy-scripts` to the Teams Toolkit project folder which is there in the development machine\n- Open `PowerShell` in the `deploy-scripts` folder.\n- Execute the command `.\\script-delete-all-buildfiles.ps1` to delete all the build files from the Teams Toolkit project folder.\n- Once execution is complete, you will see a result like the one shown below:\n\n![delete-all-image](./readme-images/delete-all.png)\n\n- This will ensure that only needed files are remaining the Teams Toolkit project folder.\n- Then zip the complete project folder and move the zip file to the deployment server.\n\n### 1. Provision Azure resources\n\n\u003e **Note:**\n\u003e Ensure that you have [completed Preparation](#prepare-for-the-transportation-of-the-files-for-deployment) of Files section and have currently unzipped the file in the deployment server before the below steps\n\nTo provision Azure resources, follow the steps below\n\n- Open `PowerShell` in the `deploy-scripts` folder\n- Execute command `.\\script-provision-complete.ps1 -environmentName \"dev\" -resourcegroupName \"Teams-Dev-TCS\"` where `environmentName` is the name of the environment and `resourcegroupName` is the name of the resource group.\n- For the first time, you will be prompted to login to Azure. Follow the instructions to login to Azure.\n- If login is succesful, the provisioning will start. The provisioning will take a few minutes to complete.\n- Once provisioning is completed, you will be able to see the screen as shown below\n\n![provision-complete](./readme-images/provision-complete-all.png)\n\n### 2. Deploy resources\n\nNext step which we need to do is to deploy the resources to Azure. We have created 2 ways of deploying. Either you can\n\n[2.1 Deploy all resources at once](#21-deploy-all-resources-at-once)\n\n[2.2 Deploy resources individually](#22-deploy-resources-individually)\n\n#### 2.1 Deploy all resources at once\n\nTo deploy all resources at once, follow the steps below\n\n- Open `PowerShell` in the `deploy-scripts` folder\n- Execute command `.\\script-deploy-complete.ps1 -environmentName \"dev\"` where `environmentName` is the name of the environment.\n- Status will be shown for each deployment and after each deployment, browser will open which will show the deployed resources.\n- The script also will package the Teams App for the mentioned environment.\n- Once complete deployment is done, you will be able to see the screen as shown below\n\n![deploy-complete](./readme-images/deploy-complete-all.png)\n\n#### 2.2 Deploy resources individually\n\nTo deploy a specific resource, follow the steps below\n\n- Open `PowerShell` in the `deploy-scripts` folder\n- For each resource type there are dedicated script files. For example, to deploy the Azure Function, execute the command `.\\script-deploy-azurefunction.ps1 -environmentName \"dev\"` where `environmentName` is the name of the environment.\n- Once complete deployment is done, you will be able to see the screen as shown below\n\n![deploy-azurefunction](./readme-images/deploy-specific-azurefunction.png)\n\n## Issues and Support\n\nFor any issues related to the deployment, please raise an issue in this repository. We will try to resolve the issue as soon as possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunumenon%2Fteamsfx-deploymentready","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farjunumenon%2Fteamsfx-deploymentready","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunumenon%2Fteamsfx-deploymentready/lists"}