Skip to main content

Tadreeb LMS – Microsoft Teams Integration

Microsoft Teams

Download

Microsoft Teams Integration (v1.0.0)

Overview​

This module enables integration between the application and Microsoft Teams using Microsoft Graph API (Application Permissions).
It allows automatic creation of Microsoft Teams meetings for Live-Online courses.


Module Information​

ItemValue
Module Slugteams
Auth MethodMicrosoft Graph API (Application Permissions)
Config FieldsTEAMS_TENANT_ID, TEAMS_CLIENT_ID, TEAMS_CLIENT_SECRET, TEAMS_USER_ID

Installation & Setup

Step 1: Download Teams Module​

Download the Microsoft Teams Integration Module.


Step 2: Upload Module​

  1. Login → Admin Panel
  2. Settings → External App
  3. Upload .zip
  4. Enable module

🔐 Step 3: Create Azure App Registration

  1. Go to: https://portal.azure.com
  2. Navigate to Microsoft Entra ID
  3. Click App registrations → New registration
  4. Enter:
    • Name (e.g., LMS Teams Integration)
  5. Click Register

🔑 Step 4: Get Tenant ID & Client ID

After creating app:

Go to Overview

Copy:

  • Application (client) ID → TEAMS_CLIENT_ID
  • Directory (tenant) ID → TEAMS_TENANT_ID

🔐 Step 5: Create Client Secret

  1. Go to Certificates & secrets
  2. Click New client secret
  3. Add description → Create

👉 Copy:

  • Client Secret → TEAMS_CLIENT_SECRET

🔐 Step 6: Add API Permissions

  1. Go to API Permissions
  2. Click Add Permission → Microsoft Graph → Application Permissions

Add:

OnlineMeetings.ReadWrite.All
User.Read.All
  1. Click Grant Admin Consent

👤 Step 7: Get User ID (Meeting Host)

You need the user who will host meetings.

  1. Go to Microsoft Graph Explorer: https://developer.microsoft.com/graph/graph-explorer
  2. Run:
GET https://graph.microsoft.com/v1.0/users

👉 Copy the user's:

  • id → TEAMS_USER_ID

Option B (Azure Portal)​

  1. Go to Microsoft Entra ID → Users
  2. Select a user
  3. Copy:
  • Object ID → TEAMS_USER_ID

⚙️ Step 8: Configure in Application

Go to:

Settings → External App → Microsoft Teams

Fill:

FieldValue
TEAMS_TENANT_IDFrom Azure
TEAMS_CLIENT_IDFrom App Registration
TEAMS_CLIENT_SECRETFrom Secrets
TEAMS_USER_IDFrom Azure User

Save.


Course Integration

When creating a Live-Online course:

  • Select Microsoft Teams
  • Meeting will be auto-created

Stored Meeting Data

  • meeting_id
  • meeting_join_url
  • meeting_host_url

Live Lesson Integration

  • Meetings auto-created for sessions
  • Links attached automatically

Additional Features

  • Test Connection validates credentials
  • TEAMS_USER_ID defines meeting host

Notes

  • Requires Microsoft 365 account
  • Admin consent is mandatory
  • Uses application-level permissions