Configuring the Teams Extension

Overview

The Microsoft Teams Extension enables UniversitySite to create and manage Teams meetings for live instructor-led training events using Azure subscriptions. "Azure subscriptions have a trust relationship with Azure Active Directory (Azure AD). Azure AD is trusted to authenticate users, services, and devices for the subscription..." see the full article here.

Step 1 - Azure Admin: Register the UniversitySite Teams Extension application with this Microsoft Identity Platform to create the Application (client) ID, Directory (tenant ID), and Client Credential Secret Value. Provide this information to the LMS Admin. 

Step 2 - Azure Admin or Network Sys Admin: Update Teams Policy via PowerShell (as an admin).

Step 3 - LMS Admin: Connect UniversitySite to Microsoft Teams with your Application (client) ID, Directory (tenant ID), and the Client Credential Secret Value.

Register UniversitySite Teams Extension Application via Azure Portal

  1. From Azure Active Directory admin center | select Azure Active Directory.
  2. Select App registrations.
  3. Click + New registration. 
  4. Add a Name such as UniversitySiteTeamsExtension or USiteTeams | choose Accounts in this organizational directory only and then click Register. Make note of the Name (Display Name) to use in the PowerShell script.
  5. Next, click API permissions.
  6. Click + Add a permission.
  7. Click Microsoft Graph.
  8. Click Application permissions.
  9. From the Select permissions search field, type onlinemeeting to show a list of the related permissions.
  10. Click to Expand and select each permission but don't add the permissions because we have one more to add. 
  11. Again, from the Select permission field, search for userClick User | Expand and select the User.Read.All permission, and then click Add permissions.
  12. Click Grant admin consent for newly added permissions, then click Yes to confirm.
  13. Click Overview.
  14. Next, under Client credentials, click the Add a certificate or secret link.
  15. Click + New client secret. 
  16. Add a Description, then from the Expires dropdown, choose 24 months, and then click the Add button.
  17. Copy the Client Secret Value (not Secret ID) and paste it into an email or chat message to the LMS Administrator along with the Application (client) ID, and then Directory (tenant) ID from steps 18 & 19. You will also use the Application (client) ID value when you run the PowerShell script along with the Display Name.  
  18. From the Overview page: Copy and paste the Application (client) ID into the message.
  19. Copy and paste the Directory (tenant) ID into the message. Keep the message open for the PowerShell script.

Update Teams Policy

  1. Open PowerShell (as an admin)
    Before running the following script in PowerShell, replace the [ Application (client) ID] below with your firm's Application (client) ID and the [Display Name] with the Display Name of the application in the code below:
Install-Module -Name PowerShellGet -Force -AllowClobber
Install-Module -Name MicrosoftTeams -Force -AllowClobber
Import-Module MicrosoftTeams
Connect-MicrosoftTeams
New-CsApplicationAccessPolicy -Identity "[Policy Display Name]" -AppIds "[Application (client) ID]"
Grant-CsApplicationAccessPolicy -PolicyName "[Policy Display Name]" -Global
	
Example:
Install-Module -Name PowerShellGet -Force -AllowClobber
Install-Module -Name MicrosoftTeams -Force -AllowClobber
Import-Module MicrosoftTeams
Connect-MicrosoftTeams
New-CsApplicationAccessPolicy -Identity "UniversitySiteTeamsExtensionPolicy" -AppIds "e9eef294-xxxx-xxxx-xxxx-b0401bd428b7"
Grant-CsApplicationAccessPolicy -PolicyName "UniversitySiteTeamsExtensionPolicy" -Global
	

   2. Provide the LMS Admin with the Application (client) ID, Directory (tenant ID), and the Client Credential Secret Value so they can add the values to UniversitySite 

Connect UniversitySite to Microsoft Teams

From InstructorSite, go to Global Settings | Miscellaneous | Extensions | expand Microsoft Teams Extension

  • In the Teams Tenant ID field paste the Directory (tenant) ID
  • In the Teams Client ID field paste the Application (client) ID
  • In the Teams Secret field paste the Client Credential Secret Value
  • Click the Test Teams Connection button

Still need help? Contact Us Contact Us