π§βπ»π©π½βπ» This project was created as part of FHL, a week dedicated to Fixing, Hacking and Learning something new together.
β The Microsoft 365 Cloud Advocates always had a challenge in their weekly sync meetings: They could not decide on who's next to give an update on project progress.
πSo Bob German and Rabia Williams decided to take the necessary step, cloud π₯ style, to create a meeting app called "Who's next" which will help choose attendees from a meeting. π Here is a quick look of how the app works!
βοΈThey used Teams Toolkit, a VS Code extension to create their base teams app from a sample meeting app available in the toolkit itself. Then they used Fluid Framework to synchronize the view for each attendee.
- NodeJS
- A Microsoft 365 tenant in which you have permission to upload Teams apps. Please don't develop in production; you can get a free Microsoft 365 developer tenant by joining the Microsoft 365 developer program
- Teams Toolkit Visual Studio Code Extension
Version | Date | Author | Comments |
---|---|---|---|
1/1 | January 25, 2023 | Bob German | Update to use Live Share SDK |
1.0 | November 21, 2022 | Bob German and Rabia Williams | Initial release |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- Use of Teams Toolkit to create a simple meeting tab application
- Use of Live Share SDK to obtain a Fluid framework container
- Use of Fluid framework to synchronize the contents of a meeting tab among meeting attendees
Follow the instructions to create a meeting in Microsoft Teams. Then in the Calendar you can find the meeting you just created. Double click the meeting will open the meeting details, and will enable the meeting app to be added in this meeting in later steps.
- In Visual Studio Code: Open the project folder and start debugging the project by hitting the
F5
key in your keyboard.- You may need to run
npm install
first - Alternatively open the
Run and Debug Activity
panel(Ctrl+Shift+D) in Visual Studio Code and click theRun and Debug
green arrow button.
- You may need to run
- The Teams web client will launch in your browser. Select
Add to a meeting
, then select the meeting you just created. (It may take a few minutes to appear on the list) - Click
Set up a tab
in the next step, it will take you to the meeting configuration page. - In the configuration page, click
Save
, this may take several minutes, and then you will see the meeting chat tab, however it will only display a message saying that you need to join the meeting in order to use it. - Click
Join
to join the meeting. - Select the tab (with a cartoon bubble logo and a default name of
Who's Next
) in the tab bar above the meeting scren. You will see a side panel tab in the meeting.
Deploy your project to Azure by following these steps:
- Open Teams Toolkit in Visual Studio Code, and sign in your Azure account by clicking the
Sign in to Azure
in theACCOUNTS
section from sidebar. - After you signed in, select a subscription under your account. The Teams Toolkit will use this subscription to provision Azure resources to host you app.
- Open the Teams Toolkit and click
Provision in the cloud
in theDEVELOPMENT
section.- Alternatively open the command palette(Ctrl+Shift+P) and type:
Teams: Provision in the cloud
command.
- Alternatively open the command palette(Ctrl+Shift+P) and type:
- Open the Teams Toolkit and click
Deploy to the cloud
in theDEVELOPMENT
section.- Alternatively open the command palette(Ctrl+Shift+P) and type:
Teams: Deploy to the cloud
command.
- Alternatively open the command palette(Ctrl+Shift+P) and type:
Note: Provisioning Azure cloud resources and deploying to Azure may cause charges to your Azure Subscription.
After you have completed the provision and deploy steps in Deploy the app to Azure
section, you can preview your app in Teams client by following steps below:
-
In Visual Studio Code
- Open the
Run and Debug Activity
panel from sidebar, or use short key Ctrl+Shift+D. - Select
Launch Remote (Edge)
orLaunch Remote (Chrome)
in the launch configuration (a dropdown selection in the upper-left corner). - Press the
Start Debugging
(small green arrow) button to launch your app, the Teams web client will be automatically opened in your browser, where you will see your app running remotely from Azure.
- Open the
This is a very simple application. It doesn't authenticate users, so the manifest works in any tenant. When you have a production deployment in Azure, you can use the same app package in any Microsoft 365 tenant where you have permission to upload or install it.