Collaborate on Teams project using Microsoft Teams Toolkit
Multiple developers can work together to debug, provision and deploy for the same TeamsFx project, but it requires manually setting the right permissions of Teams App and Microsoft Azure Active Directory (Azure AD). Teams Toolkit supports collaboration feature to allow developers and project owner to invite other developers or collaborators to the TeamsFx project to debug, provision, and deploy the same TeamsFx project.
Collaborate with other developers
The following sections guide us to understand the collaboration process as project owner or collaborator:
As project owner
Before adding collaborators for an environment, project owner needs to provision the project first.
Select Teams Toolkit in the activity bar.
In ENVIRONMENT section, select collaborators, that displays as option 1 Add Microsoft 365 Teams App (with Azure AD App) Owners and 2 List Microsoft 365 Teams App (with Azure AD App) Owners as shown in the following image:
Select Add Microsoft 365 Teams App (with Azure AD App) Owners and add other Microsoft 365 account email address as collaborator. The account to be added must be on the same tenant as project owner for remote debug as shown in the image:
To view collaborators in current environment, select List Microsoft 365 Teams App (with Azure AD App) Owners, then you can see collaborators listed in the output channel as shown in following image:
Push the project to GitHub.
The newly added collaborators do not receive any notification. The Project owner needs to notify collaborator.
As project collaborator
Clone the project from GitHub.
Log on to Microsoft 365 account.
Log on to Azure account, it has contributor permission for all the Azure resources, which are used in the project.
To preview your Teams app, deploy the project to remote.
Launch remote to have a preview of the Teams app.
Collaborators must log in using the account that project owner adds under the same tenant with project owner. For more information, see build and run your Teams app in remote environment.
If you want to remove collaborators from Teams Toolkit extension, you need to remove manually as you can't remove them directly. Perform the following steps to remove collaborators manually:
Using Developer Portal
- Go to Teams Developer Portal and select your Teams app by name or app ID.
- Select Owners from left panel.
- Select and remove the collaborator.
Using Azure Active Directory
Go to Azure Active Directory, select App registration from left panel, and find your Azure AD App.
Select Owners from left panel in Azure AD App management page.
Select and remove the collaborator.
- Collaborator added to your project doesn't receive any notification. Project owner needs to notify collaborator offline.
- Azure related permissions must be set manually by Azure subscription administrator on Azure portal.
- Azure account must have contributor role for the subscription so that developers can work together to provision, and deploy TeamsFx project.
Submit and view feedback for