Skip to content
Studeia Docs

Microsoft 365 integration (Teams + Graph API + SSO + OneDrive)

How to integrate Studeia with Microsoft 365: Azure AD SSO (SAML/OIDC/SCIM), Microsoft Teams as video provider, OneDrive sync for media library, Graph API for calendar events.

2026-05-24 6 min
Resposta curta

Studeia integrates with Microsoft 365 in 4 aspects: (1) Enterprise SSO via Azure AD (SAML 2.0, OIDC, SCIM 2.0 with group→course mapping for auto-enrollment). (2) Microsoft Teams as live class video provider via Graph API. (3) Bidirectional OneDrive sync in media library. (4) Outlook Calendar sync. Works with Microsoft 365 A1/A3/A5 (Education) or Business/Enterprise.

4 integration points

1. Azure AD SSO (SAML / OIDC)

Setup OIDC (recommended): Azure Portal > AD > App registrations > New. Redirect URI: https://[tenant].studeia.com/api/auth/sso/[slug]/oidc/callback. Client secret. Studeia > Settings > SSO > Add Provider > OIDC. Discovery URL: https://login.microsoftonline.com/{tenantId}/v2.0/.well-known/openid-configuration.

2. SCIM 2.0 (automatic provisioning)

Azure Portal > Enterprise Applications > Studeia > Provisioning > Mode: Automatic. Tenant URL: https://[tenant].studeia.com/api/scim/v2. Secret Token: generated in Studeia (AES-256-GCM encrypted). Group → Course mapping for auto-enrollment. Large groups (>50 members) processed via BullMQ.

3. Microsoft Teams (video provider)

Azure AD App > API Permissions > Microsoft Graph: OnlineMeetings.ReadWrite.All, OnlineMeetingRecording.Read.All. Application type (not Delegated). Admin consent required (Global Admin). Webhook: /api/webhooks/video/teams with Graph Change Notifications.

Limitation: endMeeting not supported via Graph API.

4. OneDrive sync (media library)

Same Drive integration pattern. AES-256-GCM encrypted tokens. Cron /api/cron/drive-sync.

Setup (1-2h)

  1. Azure AD App registration (10min)
  2. Configure API permissions + admin consent (10min)
  3. SSO OIDC in Studeia (5min)
  4. SCIM provisioning (30-45min)
  5. Teams provider (10min)
  6. OneDrive integration (10min)
  7. Test with 5 pilot users (10min)

LGPD + GDPR

OAuth tokens AES-256-GCM encrypted. SCIM Bearer token encrypted. Complete audit via ScimAuditLog. Microsoft DPA applicable for European companies.

See also

FAQ

Does Studeia integrate with Microsoft 365?

Yes. (1) Enterprise SSO via Azure AD (SAML 2.0 OR OIDC + SCIM 2.0 for automatic provisioning). (2) Microsoft Teams as live class video provider via Graph API. (3) OneDrive sync in media library. (4) Outlook Calendar sync of live classes.

Works with Microsoft 365 A1 (free Education)?

Yes for SSO + Teams + OneDrive. Graph API limits may affect SCIM at scale (>1000 users). Recommended A3/A5 for medium/large schools.

How long does SCIM with Azure AD take to setup?

1-2 hours. Azure Portal > Enterprise Applications > Add app > Provisioning > Mode: Automatic > Tenant URL: https://[tenant].studeia.com/api/scim/v2 > Secret Token (generated in Studeia Settings > SSO > SCIM Token) > default mappings > Start.

Can I use Teams as provider and Zoom for some classes?

Yes. Configure both providers in Settings > Video Provider. For each LiveClass admin chooses which provider (LiveClass.videoProvider override over tenant default).

Veja tambem

Microsoft 365 integration (Teams + Graph API + SSO + OneDrive)