Teams Online integration

The Teams integration allows you to start an Teams Online meeting or join a meeting in the Weavy Messenger.

Setting Up Teams Online Integration

Prerequisites

  • An Azure account.
  • A Microsoft Teams account.

Creating an Azure app

The first thing you need to do is to create an Azure app. Sign in to your Azure account and go to the Azure Portal.

  1. Go to Azure Active Directory -> App registrations
  2. Click on New registration
  3. Choose a name for the app and select the Supported account types best suited for your app.
  4. For Redirect URI, enter the url https://{your-weavy-url}/meetings/teams/auth
  5. Click on Register to complete the app registration
  6. On the App details page, select Authentication from the left hand menu. Click on Add a platform and select Web. Enter the same Redirect URI as in the previous step. When you are done, click on the Configure button
  7. On the App details page, select Certificates & secrets from the left hand menu.
  8. Click on New client secret. Enter a name and select when the client should expire. Click Add to add the secret. Copy and save the secret now. This will not be visible again! You need the secret when you are going to configure Weavy.
  9. On the App details page, select Overview from the left hand menu.
  10. Take note of the Application (client) ID and Directory (tenant) ID. You will need it in the next step.
  11. You're done!

Configuring Weavy

Now it's time to configure Weavy and enable the Teams Online integration. Depending on where you keep your Weavy settings (settings.config, web.config or Azure) this step is different. Please take a look at Configuration for the different methods you can use for specifying settings. This example assumes you keep the settings in settings.config.

The following settings are required to enable the Teams Online integration:

<appSettings>
    <add key="weavy.teams-meetings" value="true" />
    <add key="weavy.azure-tenant-id" value="{your-azure-tenant-id}" />
    <add key="weavy.azure-client-id" value="{your-app-client-id}" />
    <add key="weavy.azure-client-secret" value="{your-app-client-secret}" />
    <add key="weavy.azure-scopes" value="offline_access OnlineMeetings.ReadWrite" />
</appSettings>

Test the Teams Online integration

Go to the Weavy Messenger, https://{your-weavy-url}/messenger and select or create a new conversation.

You should now see a new Video icon next to the message input field. Click the icon to add a new Teams Online Meeting. The first time you add a meeting, you will need to Sign in to continue. Click on the Sign in link and enter your credentials.

When signed in, you can add a message, attach document or just send the message. A meeting will be created in Teams Online and a Teams Online Meeting card will be attached to your Weavy message. Click on the Start meeting button to open up Zoom and start the meeting. Other users will se a Join link to the meeting.