Tadreeb LMS – Microsoft Teams Integration
Microsoft Teams
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
| Item | Value |
|---|---|
| Module Slug | teams |
| Auth Method | Microsoft Graph API (Application Permissions) |
| Config Fields | TEAMS_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
- Login → Admin Panel
- Settings → External App
- Upload
.zip - Enable module
🔐 Step 3: Create Azure App Registration
- Go to: https://portal.azure.com
- Navigate to Microsoft Entra ID
- Click App registrations → New registration
- Enter:
- Name (e.g., LMS Teams Integration)
- 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
- Go to Certificates & secrets
- Click New client secret
- Add description → Create
👉 Copy:
- Client Secret → TEAMS_CLIENT_SECRET
🔐 Step 6: Add API Permissions
- Go to API Permissions
- Click Add Permission → Microsoft Graph → Application Permissions
Add:
OnlineMeetings.ReadWrite.All
User.Read.All
- Click Grant Admin Consent
👤 Step 7: Get User ID (Meeting Host)
You need the user who will host meetings.
Option A (Recommended)
- Go to Microsoft Graph Explorer: https://developer.microsoft.com/graph/graph-explorer
- Run:
GET https://graph.microsoft.com/v1.0/users
👉 Copy the user's:
- id → TEAMS_USER_ID
Option B (Azure Portal)
- Go to Microsoft Entra ID → Users
- Select a user
- Copy:
- Object ID → TEAMS_USER_ID
⚙️ Step 8: Configure in Application
Go to:
Settings → External App → Microsoft Teams
Fill:
| Field | Value |
|---|---|
| TEAMS_TENANT_ID | From Azure |
| TEAMS_CLIENT_ID | From App Registration |
| TEAMS_CLIENT_SECRET | From Secrets |
| TEAMS_USER_ID | From 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