Configure Microsoft Teams to use Azure Lab Services
In this article, you learn how to configure Microsoft Teams to use Azure Lab Services. Add the Azure Lab Services Teams app to a team channel to let educators and students access to their labs directly without navigating to the Azure Lab Services portal. Learn more about the benefits of using Azure Lab Services within Teams.
For information about creating and managing labs in Microsoft Teams, see Create and manage labs in Microsoft Teams.
- An Azure lab plan. If you don't have a lab plan yet, follow the steps in Quickstart: Set up resources to create labs.
- The lab plan is created in the same tenant as Microsoft Teams.
- To add the Azure Lab Services Teams app to a channel, your account needs to be an owner of the team in Microsoft Teams.
- To add a lab plan to Teams, your account should have the Owner, Lab Creator, or Contributor role on the lab plan. Learn more about Azure Lab Services built-in roles.
The typical workflow when using Azure Lab Services within Teams is:
- The admin creates a lab plan in the Azure portal.
- The admin adds educators to the Lab Creator role in the Azure portal, so they can create labs for their classes.
- Educators create labs in Teams, pre-configure the template VM, and publish the lab to create VMs for everyone on the team.
- Azure Lab Services automatically assigns a VM to each person on the team membership list upon their first sign into Azure Lab Services.
- Team members access the lab by using the Azure Lab Services Teams app, or by accessing the Lab Services web portal: https://labs.azure.com. Team members can then use the VM to do the class work and homework.
Azure Lab Services can be used within Teams only if the lab plans are created in the same tenant as Teams.
Add the Azure Lab Services Teams app to a channel
You can add the Azure Lab Services Teams app in your Teams channels. The app is then available as a tab for everyone that has access to the channel. To add the Azure Lab Services Teams app, your account needs to be an owner of the team in Microsoft Teams.
To add the Azure Lab Services Teams app to a channel:
Navigate to the Teams channel where you want to add Azure Lab Services.
In the list of tabs at the top, select + to add a new tab.
Enter Azure Lab Services in the search box, and then select the Azure Lab Services icon to add the app.
Only team owners can add the Azure Lab Services app to the channel.
Select the resource group, which contains the lab plan that you want manage from within this team.
Azure Lab Services uses single sign-on into the Azure Lab Services web portal (https://labs.azure.com) and lists all the lab plans that you have access to and which are in the same tenant as Teams.
The dropdown lists all the resource groups that contain lab plans and for which you have the Owner, Contributor, or Lab Creator role.
Select Save to add the Azure Lab Services tab to the channel. You can now select the Azure Lab Services tab from your channel.
When you create a lab within Teams, Azure Lab Services automatically adds everyone on the team, including owners, members, and guests, to the lab user list. Learn more about managing user lists within Teams.
Educators can now create and manage labs from within the team channel. The team owner, with appropriate access at the lab plan level, will see only the labs that are associated with the team.
Labs must be created using the Azure Lab Services app in Teams. Labs created from the Azure Lab Services portal aren't visible from Teams.