Configure Canvas to use Azure Lab Services

Canvas Learning Management System (LMS) is a cloud-based learning management system that provides one place for course content, quizzes, and grades for both educators and students. In this article, you learn how to add the Azure Lab Services app to Canvas. Educators can create labs from within Canvas and students will see their lab VMs alongside their other material for a course.

Learn more about the benefits of using Azure Lab Services within Canvas.

To configure Canvas to use Azure Lab Services, go through the one-time step to enable the Azure Lab Services app in Canvas. Next, you can then add the Azure Lab Services app to your course.

If you've already configured your course to use Azure Lab Services, learn how you can Create and manage labs in Canvas.

Note

This article references features available in lab plans, which replaced lab accounts.

Prerequisites

  • Your Canvas account needs Admin permissions to add the Azure Lab Services app to Canvas.

  • To link lab plans, your Azure account needs the following permissions. Learn how to assign Microsoft Entra roles to users.

    • Reader role on the Azure subscription.
    • Contributor role on the resource group that contains your lab plan.
    • Write access to the lab plan.

Enable the Azure Lab Services app in Canvas

The first step to let users access their labs and lab plans through Canvas is to enable the Azure Lab Services app in Canvas. To use a third-party application, such as Azure Lab Services, in Canvas, you have to enable the corresponding developer key in Canvas.

The Canvas developer key for the Azure Lab Services app is an inherited key, also referred to as a global developer key. Learn more about developer keys in the Canvas Community Hub.

To enable the developer key for the Azure Lab Services app:

  1. In Canvas, select the Admin page.

  2. Select Developer Keys in the left navigation.

  3. Select the Inherited tab of the developer keys.

  4. In the list, change the state of the Azure Lab Services entry to On.

    Screenshot that shows how to turn on the inherited Azure Lab Services app in the Canvas Admin settings.

Add Azure Lab Services app to an account (optional)

You can enable the Azure Lab Services app for a Canvas course in either of two ways:

When you add the app at the Canvas account level, you avoid that you have to add the app for every individual course. If you have multiple courses that use Azure Lab Services, adding the app at the account level might be quicker. After adding the app for the Canvas account, you only have to enable the Azure Lab Services app in the course navigation.

To add the app at the Canvas account level:

  1. In Canvas, select the Admin menu.

  2. Select the account that you want to add the Azure Lab Services app to. Alternatively, select All Accounts to add the Azure Lab Services app to all accounts for the Canvas Learning Management System (LMS) instance.

    Screenshot that shows the Admin menu and accounts list in Canvas.

  3. Choose Settings, and then select the Apps tab.

  4. Select View App Configurations button at the top right of the page.

    Screenshot that shows the App tab of the admin settings page in Canvas.

  5. Select the + App button at the top right of the page.

    Screenshot that shows Add app button in the admin settings page.

  6. On the Add App dialog, in the Configuration Type dropdown, choose By Client ID. Enter the Azure Lab Services client ID, which is 170000000000711, into the Client ID field. Select the Submit button.

    Screenshot that shows Add by Client ID dialog in Canvas admin settings page.

  7. When the Add App dialog asks Tool "Azure Lab Services" found for client ID 170000000000711. Would you like to install it?, select Install.

The Azure Lab Services app is now available for all courses in that account.

Add Azure Lab Services to a course

Next, you associate the Azure Lab Services app with a course in Canvas. You have two options to configure a course in Canvas to use Azure Lab Services:

Add the Azure Lab Services app to a course

You now add the Azure Lab Services app to a specific course in Canvas.

  1. In Canvas, go to the course that will use Azure Lab Services.

  2. Choose Settings, and then select the Apps tab.

  3. Select View App Configurations button at the top right of the page.

    Screenshot that shows the App tab of the settings page for a course in Canvas.

  4. Select the + App button at the top right of the page.

    Screenshot that shows Add app button in Canvas.

  5. On the Add App dialog, in the Configuration Type dropdown, choose By Client ID. Enter the Azure Lab Services client ID, which is 170000000000711, into the Client ID field. Select the Submit button.

    Screenshot that shows Add by Client ID dialog in Canvas.

  6. When the Add App dialog asks Tool "Azure Lab Services" found for client ID 170000000000711. Would you like to install it?, select Install.

    The Azure Lab Services app takes a few moments to show in the course navigation list.

You can skip to Link a lab plan to a course to finalize the configuration of Canvas.

Enable Azure Lab Services in course navigation

If you previously added the app at the Canvas account level, you don't have to add the app for a specific course. Instead, you enable the app in the Canvas course navigation:

  1. In Canvas, go to the course that uses Azure Lab Services.

  2. Choose Settings, then select the Navigation tab.

  3. Find the Azure Lab Services entry, select the three vertical dots, and then select Enable.

    Screenshot of enabling Lab Services app in course navigation.

  4. Select Save.

After you enable the Azure Lab Services app in Canvas and associate it with a course, you link specific lab plans to Canvas. You can only use linked lab plans for creating labs in Canvas.

To link lab plans to Canvas, your Canvas account must be a Canvas administrator. In addition, your Azure account must have the following permissions on the lab plan.

  • Reader role on the subscription.
  • Contributor role on the resource group that contains your lab plan.

Perform the following steps to link lab plans to Canvas:

  1. In Canvas, go to a course for which you previously added the Azure Lab Services app.

  2. Open the Azure Lab Services app in the course.

  3. Select the tool icon in the upper right to see the list all the lab plans.

  4. Choose the lab plans you want to link to Canvas from the list.

    Screenshot that shows the list of lab plans that can be linked to Canvas.

  5. Select Save.

    In the Azure portal, the LMS settings page for the lab plan shows that you linked the lab plan successfully to Canvas.

    Screenshot of the L M S settings page for a lab plan.

Next steps

You've successfully configured Canvas to access Azure Lab Services. You can now continue to create and manage labs for your courses in Canvas.

See the following articles: