Get started and create a Lab Services lab within Teams

This article shows how to add the Azure Lab Services app to a Team and then how to create a lab within MS Teams environment.

Prerequisites

In this tutorial you set up a lab with virtual machines for your team. To set up a lab in a lab account, you must be a member of one of these roles in the lab account: Owner, Lab Creator, or Contributor. The account you used to create a lab account is automatically added to the owner role. So, you can use the user account that you used to create a lab account to create a lab.

Here is the typical workflow when using Azure Lab Services within Teams

  1. User creates a Lab Account on the Azure portal.
  2. A lab account creator adds other users to the Lab Creator role. For example, the lab account creator/admin adds educators to the Lab Creator role so that they can create labs for their classes.
  3. Then, the educators create labs, pre-configures the template VM and publishes the lab to provision VM's to everyone on the team.
  4. Once the lab is published, a VM is assigned to everyone on the team membership list on their first login to Azure Lab Services, either by clicking on the tab containing Azure Lab Services App within Teams(SSO) or by accessing the labs website. Users can then use the VM to do the class work and homework.

Important

Azure Lab Services can be used within Teams only if the lab accounts are created in the same tenant as Teams.

Add Azure Lab Services app as a tab to a Team

You, as a Team owner, can add Azure Lab Services app directly in your Teams channels, and then the app is available for everyone in the team to use. Follow the below three steps:

  1. Navigate to the Teams channel where you want to add the app and select + to add a tab.

  2. Search for Azure Lab Services from the tab options and add this app.

    Note

    Only Team Owners will be able to create labs for the team.

    Add a tab

  3. Select a Lab Services account, which you would like to use for creating labs in this team.

    Azure Lab Services uses single sign-on into the Azure Lab Services website and pulls all the lab accounts that you have access to.

    The accounts that are in the same tenant as Teams and for which you have Owner, Contributor, or Creator access are displayed.

    Welcome to ALS

  4. Press Save and the tab gets added to the channel.

    Created the ALS tab

    Now you can select the Azure Lab Services tab from your channel and start managing labs as described in the following articles.

After the lab account is selected, Team owners will be able to create labs for the team. The entire lab creation process and all the tasks at the lab level can be performed within Teams. Users will have the option to create multiple labs within the same team and the Team owner, with appropriate access at the lab account level, will see only the labs associated with the specific team.

Next steps

When a lab is created within Teams, the lab user list is automatically populated and synced with the team membership. Everyone on the team, including Owners, Members and Guests will be automatically added to the lab user list. Azure lab Services will maintain a sync with the team membership and an automatic sync is triggered every 24 hours. For details, see:

Manage Lab Services user lists within Teams

See also

Also see the following articles: