Prerequisites: You will need a Microsoft Azure admin account and an Office365 subscription to configure access to MS Teams. In addition, part of the initial setup within the LPLMS will need to be completed by Learning Pool.
Note: Azure permissions are very customisable and customers subscriptions may vary. The document goes through the setup as we have encountered it on Azure.
Once configured, this integration allows a Site manager to create a Microsoft Teams meeting as an addition to Seminar events without leaving the LPLMS, streamlining the event creation process.
Configuring the seminar activity
If you haven't configured MS Teams with your LPLMS you will first need to reference the Configuring MS Teams section below.
Be aware that the following will only be available if Virtual Locations has been enabled by a Site Manager at Site administration > Seminars > Global settings.
Once you have MS Teams setup to work with your LPLMS you will be able to create a ‘Virtual Room’ who's link can be added to a Seminar event. To do this, navigate to your chosen course page and create a seminar activity. Once created, go ahead and create a new event. At the top of this page you will see the new Virtual Room option.
Clicking on this option will open up the MS Teams application. This requires that you first select the MS Teams icon, and then click Continue:
This will open a dialog where you can specify the meeting name along with the date and time of when it is to take place:
Once you have specified the above details, click the Create button. This will then generate an MS Team meeting link.
Use the Copy link button and then Close popup to exit the dialog. Now paste the link into the Virtual Location area of your seminar event, set it up as usual and after which, you’re ready to go!
Note: Details of the created meetings through MS Teams will show up on your Azure account.
If you want this link to appear in one or more Seminar notifications, you must include the placeholder [session:virtuallocation] in the desired Seminar notification templates.
Be aware that the [session:virtuallocation] placeholder may not appear in Seminar notification templates by default unless it has been previously added to the site Seminar template library by at Site manager at Site administration > Seminars > Notification templates.
Configuring MS Teams
Go to the Azure Portal (https://portal.azure.com/) and click Azure Active Directory.
Click New registration:
Pick a name for the app:
Under Support Account Types choose Accounts in this organizational Directory on (Your Org Name only - Single tenant):
Under Redirect URL choose Web and enter the following as the URL:
{site url}/admin/oauth2callback.php
Then click Register:
Click API permissions then Add a permission:
Note: By default the application comes with no permissions, so you will need to ensure that you configure these permissions.
Click Microsoft Graph:
Add the delegated permission Calendars.ReadWrite:
Note: Admin consent is not always automatically applied to newly added permissions. You may need to click on the ‘Grant admin consent for Your Org Name.
Click Certificates & secrets and New Client Secret. Choose a description and expiry, then copy the generated secret.
Note: There is no way to automatically renew the expiry time. This is a security feature.
Enabling Microsoft Teams on your LMS
You will need to ask Learning Pool Support to enable the Microsoft Teams / Azure plugin on your LPLMS . When you do this, you will need to supply Learning Pool with the following information:
Client ID: Can be found in the Azure portal, on the main page for the app registration you created. It's listed as Application (client) ID:
Client secret: Use the client secret you created during the app registration process.
The authorization_endpoint and token_endpoint. To find these values, visit your app registration in the Azure portal, and click Endpoints:
Use the "v2" authorization and token endpoints: