Skip to content

Microsoft Teams module

frentix customers

For frentix customers, their customer advisor at frentix takes care of this configuration.

Microsoft Teams is the web conferencing solution from Microsoft. In courses and groups, owners and coaches use it to create online meetings that participants join from within OpenOlat. System administrators define for the whole instance which types of online meetings are available, for example whether every meeting needs a date and therefore appears in the calendar.

You configure the module in the system administration under:
Administration > External tools > Microsoft Teams

Menu item Microsoft Teams under External tools: module switched on, enabled for five places, Online-Meetings without date/permanent set to Off, fields for access data made unreadable

The section Prerequisites describes the prerequisites for the connection to Microsoft 365. How owners and coaches create individual online meetings is described in the user manual in the chapter Course Element "Microsoft Teams". How the roles Organizer, Presenter and Attendee are assigned in a Teams meeting and what the moderator setting does is described there in the section Roles in MS Teams.


Prerequisites

Before you switch on the module, your organisation needs a tenant at Microsoft with the required Microsoft Teams licenses. The tenant is the Microsoft 365 environment of your organisation in Microsoft Entra ID, formerly Azure Active Directory.

Microsoft Teams uses the same app at Microsoft as the login with the Microsoft account. The app is the registration of OpenOlat in the Microsoft Entra admin center, often called the Azure app. You set it up for the cloud login: in the system administration under Administration > Login > Cloud login, this connection is called "Microsoft Azure Active Directory", on the login page the entry is called "Microsoft Azure AD", see Cloud login: Microsoft Azure Active Directory. OpenOlat needs no separate access data for Microsoft Teams, even if the tab "Configuration" shows such fields, see Application (client) ID, Client secret, Tenant GUID.

So that persons can open online meetings, they log in to OpenOlat with the Microsoft account of their organisation (login via "Microsoft Azure AD"). OpenOlat creates the online meetings via the programming interface of Microsoft (Microsoft Graph API) on behalf of the logged-in person. Anyone who logs in another way, for example with OpenOlat username and password, sees a notice at the online meeting that opening it requires the login with the Microsoft account.

Which permissions OpenOlat requests from Microsoft at this login depends on the module and on meeting recording:

  • Always: the basic permissions of every login, that is profile, e-mail address and reading the own account.
  • Module "Microsoft Teams" switched on: additionally the permission to create online meetings (OnlineMeetings.ReadWrite). According to Microsoft, this permission does not need admin consent.
  • Function "Meeting recording" switched on as well: in addition the permission to read recordings (OnlineMeetingRecording.Read.All). According to Microsoft, it needs the consent of the administration of your tenant. If it is missing, the login fails for persons without administrator rights in the tenant, see Function "Meeting recording".

If the module stays switched off because your organisation does not use Microsoft Teams in OpenOlat, the login only requests the basic permissions.

To the top of the page ^


Tab "Configuration"

In the tab "Configuration", you switch Microsoft Teams on for the instance and define where and with which variants online meetings may be created and whether OpenOlat takes over their recordings.

Configuration of Microsoft Teams integration

The fields "Activate for" and "Online-Meetings without date/permanent" only appear when the module is switched on.

Module switched on, marked are Activate for with five places and Online-Meetings without date/permanent set to On, access data made unreadable

Module "Microsoft Teams"

Switches Microsoft Teams on or off for the whole instance. If the module is switched off, the course element "Microsoft Teams" is not available for selection in the course editor.

Activate for

Enables Microsoft Teams individually for the places where online meetings are created: Course element "Microsoft Teams", "Course events", Course element "Appointment scheduling", "Groups" and "Supervisor chat".

Online-Meetings without date/permanent

Determines whether permanent reservations may be created in courses and groups. A permanent reservation is an online meeting without a start and an end. It is permanently open, but it does not appear in any calendar.

With "On" (default), the selection "Add online-meeting" offers the variant "Add permanent meeting room". With "Off", this variant is missing in the course element "Microsoft Teams", in the group tool "Microsoft Teams" and in the course tool "Teams". Every new online meeting then needs a start and an end and appears in the calendar. This helps organisations that want to plan all online meetings and keep track of them in the calendar.

Existing permanent reservations are kept when you set the option to "Off". They can still be opened, edited and saved without a date. The option only prevents new permanent reservations from being created.

The BigBlueButton module has the same setting under the name "Online-Meetings without date", see BigBlueButton module.

Application (client) ID, Client secret, Tenant GUID

The tab only shows these three fields if access data for a tenant is stored in the server configuration. OpenOlat only displays them: online meetings are created via the login of the person with their Microsoft account and the app from the cloud login, see Prerequisites. The app from the cloud login is decisive, even if these fields show a different application ID. The fields can only be changed in the server configuration.

Meeting recording

frentix customers

For frentix customers, their customer advisor at frentix takes care of switching the function on and off. The administration of your tenant at Microsoft grants the permission and the consent in Azure.

If recordings of online meetings are to be available in OpenOlat and deleted again according to plan, switch on meeting recording here. OpenOlat then fetches the finished recordings from Microsoft Teams, stores them with the online meeting and shows them to the selected roles. Without the function, a recording stays in Microsoft Teams. What owners and coaches set for each online meeting is described in the user manual in the section Meeting recording.

The section only appears when the module is switched on. The four settings after the switch only appear when the function "Meeting recording" is switched on.

Meeting recording section with the function switched on, highlighting the four default settings for recording, recording start, automatic publishing and deletion period

Function "Meeting recording"

Switches meeting recording on or off for the whole instance. If it is switched off, the recording settings are missing in every online meeting, and OpenOlat does not fetch any recording, also for online meetings that were saved earlier with meeting recording switched on. Recordings that were already fetched stay stored, but the online meetings do not show them, and the automatic deletion pauses until the function is switched on again. By default, the function is switched off.

To switch it on, OpenOlat needs a key which protects the access tokens in the server configuration. If the key is missing, the section shows a warning, the switch cannot be switched on, and OpenOlat does not download any recordings.

The function changes the login via "Microsoft Azure AD". If the module "Microsoft Teams" and the function "Meeting recording" are switched on, OpenOlat additionally requests from Microsoft at every such login the permission to read recordings of online meetings. The administration of your tenant at Microsoft adds this permission in the app through which OpenOlat logs in to Microsoft (Azure app). It is the app whose "Client ID" is entered in the system administration under Administration > Login > Cloud login for "Microsoft Azure Active Directory", see Cloud login: Microsoft Azure Active Directory.

According to Microsoft, the permission is found in the Microsoft Entra admin center under:
Entra ID > App registrations > "Your app" > API permissions > Add a permission > Microsoft Graph > Delegated permissions
There, OnlineMeetingRecording.Read.All is selected and confirmed with "Add permissions". With this delegated permission, OpenOlat reads the recordings on behalf of the logged-in person.

The permission only takes effect once the administration of your tenant at Microsoft grants consent to it. According to Microsoft, OnlineMeetingRecording.Read.All needs this admin consent. According to Microsoft, a person with the role "Cloud Application Administrator" or "Application Administrator" at Microsoft may grant it, in the same app under "API permissions" with the button for admin consent. If the consent is missing, Microsoft asks for the approval of an administrator at login, and the login via "Microsoft Azure AD" fails for persons without administrator rights in the tenant.

Three levels of permissions at the login via Azure AD, the third one needs consent in the tenant

Therefore proceed in this order as soon as the key is stored in the server configuration: First have the permission added in Azure and consent granted to it. Then switch on the function "Meeting recording" in OpenOlat and save. From the next login via "Microsoft Azure AD" on, OpenOlat requests the permission. Before switching it on, have an account of the system administration ready that can log in with OpenOlat username and password: it is the way back if the consent is missing.

If Microsoft unexpectedly asks for the approval of an administrator at the login via "Microsoft Azure AD", first check whether the function "Meeting recording" is switched on. If the login fails because the consent is missing, there are two ways back: The administration of your tenant at Microsoft grants the consent, or a system administrator switches off the function "Meeting recording" and saves. The second way requires a login to OpenOlat without Azure AD, for example with OpenOlat username and password. If OpenOlat automatically redirects to Microsoft when it is called, you reach this login via the address of your installation with the addition /maintenance/, see Cloud login: Automatic redirect.

Meeting recording (default)

Default value for new online meetings, "On" or "Off". "Off" is selected by default. Owners and coaches can change the default value for each online meeting.

Recording start (default)

Default value for when the recording begins: "Automatically when the meeting starts" or "Manually by the meeting host". The meeting host is the person who opens the online meeting. "Manually by the meeting host" is selected by default.

Automatically publish recording for (default)

Default value for the roles to which a recording is visible after the online meeting: "Owners and coaches", "Course / group participants", "All meeting's attendees (without guests)" and "Guests". If no role is checked, OpenOlat does not publish new recordings automatically. Owners and coaches then publish them manually after the online meeting with "Publish".

Delete recordings automatically

Number of days after which OpenOlat deletes a recording. The interface calls the period "days after meeting end", OpenOlat counts the days from the end of the recording. So the period also applies to recordings from permanent reservations, which have no meeting end. OpenOlat checks this once a day during the night. If the field remains empty or contains 0, OpenOlat does not delete any recording automatically.

Only the recording is deleted, never the online meeting. Recordings that owners or coaches have marked as "Recording not deletable" are kept.


Tab "Online-meetings"

In the tab "Online-meetings", you keep track of all Microsoft Teams online meetings in the instance and clean up meetings that are no longer needed.

The table shows "Name", "Without date", "Start", "End" and "Context" for each meeting. A click on the context opens the group or the course in which the meeting was created, and for a meeting from a course element it opens this course element directly. If an online meeting belongs neither to a course nor to a group, the column "Context" remains empty and offers no link. This applies to the online meetings that are created for an event via the option "Course events". Use the search to find individual meetings. With "Delete" you remove one meeting, or several selected meetings at once.

All online meetings of the instance with the context as a link to the course or group and Delete in each row, for some of the meetings the context remains empty


Tab "Calendar"

In the tab "Calendar", you see when many online meetings take place at the same time and detect bottlenecks early. The view opens in the week view and shows all Microsoft Teams online meetings with start and end. Permanent reservations do not appear here because they have no date.

With "Month", "Week", "Day" and "Year" you switch the view, "Year" lists the online meetings of the year one below the other. With the arrows and "Today" you move through time.

Week view with all Microsoft Teams online meetings, simultaneous meetings are shown side by side


Further information

Mentioned on this page
Course Element "Microsoft Teams" >
Cloud login >
Microsoft: Microsoft Graph permissions reference >
BigBlueButton module >
Microsoft: App registration and API permissions >
Microsoft: Grant tenant-wide admin consent >

Further reading
Using Group Tools >
Virtual classrooms >

To the top of the page ^