How can we help you?

Search here or have a look at the topics below

Setting up the Teams API in Microsoft 365 (Microsoft Teams – Online Meeting)

In this guide, we will show you how to set up the Teams API to use Microsoft Teams with extended functionalities as a virtual location (Virtual Classroom Type: Microsoft Teams – Online Meeting) in Avendoo.

Schaubild der Teams-API

Setting up the Apps in Microsoft 365

1

Create a new enterprise application (not from the gallery).

2

In the properties, set the user visibility to No.

3

Assign an owner.

4

Go to App registrations. There you will find a registration with the name you assigned previously. On the overview page, note down the following values, which are required for configuration in Avendoo.

  • Tenant ID
  • Application ID

5

Go to Certificates & secrets. There, create a new Client Secret (“secret”). We recommend a validity of two years. However, a shorter validity can also be chosen.

Note: Note down the expiration date of the Client Secret to renew it in time.

6

Note down the value. The ID is not required.

Note: The value is only readable now. After leaving the page, it can no longer be retrieved.

Granting Permissions in Microsoft 365

1

Go to API permissions.

2

Grant the application permissions OnlineMeeting.ReadWrite.All and OnlineMeetingArtifact.Read.All

A “CsApplicationAccessPolicy” is used to secure access. Further information can be found in the following article: https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy

Note: As described in the article, we recommend granting and securing the permissions. We cannot guarantee the up-to-dateness of the Microsoft guide at this point. As the implementing organization, you are responsible for security.

3

Connect to Teams via PowerShell:
Connect-MicrosoftTeams

4

Create an ApplicationAccessPolicy that refers to the created application:
New-CsApplicationAccessPolicy -Identity -AppIds “” -Description “”

5

Link the policy just created to the user in whose calendar the meetings are to be created:
Grant-CsApplicationAccessPolicy -PolicyName -Identity “”

Granting permissions in Microsoft 365 can take some time. They usually take effect after an hour – but it can also take significantly longer.

You can now create a new virtual location of Virtual Classroom Type “Microsoft Teams – Online Meeting” in Avendoo.

Requirements

You need administrative rights in Microsoft 365 for:

  • Creation of mailboxes
  • Creation of enterprise applications in Entra ID
  • Creation of Client Secrets in App registrations
  • Access to Teams via PowerShell (Module: MicrosoftTeams)

Additionally, you need:

  • A mailbox that is located in the cloud and can be accessed via API
  • A Teams license so that the user can also set up Teams meetings
  • During setup, the application permissions OnlineMeeting.ReadWrite.All and OnlineMeetingArtifact.Read.All are granted and restricted to the specified mailbox.

Was this article helpful?

Thank you for your feedback!