page_type | languages | products | name | urlFragment | description | extensions | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
sample |
|
|
Todo List (Works in Teams, Outlook and Office) |
officedev-teamsfx-samples-tab-todo-list-with-Azure-backend-M365 |
Todo List app that runs across Microsoft 365 including Teams, Outlook and Office. |
|
Todo List app helps to manage your personal to do items. This app can be installed and used not only in your Teams client, but also Outlook client and the Microsoft 365 app. The frontend is a React app and the backend is an Azure Function. You can deploy and host the app in Azure.
Note: This sample will only provision single tenant Azure Active Directory app. For multi-tenant support, please refer to this wiki.
- How to use Teams Toolkit to build frontend hosting on Azure for your tab app.
- How to use Teams Toolkit to build backend hosting on Azure for your tab app.
- How to use MS graph client in TeamsFx to get access to Microsoft 365 data.
- How to use Teams Toolkit to build a personal tab app with Azure Function backend that runs across Microsoft 365 including Teams, Outlook and the Microsoft 365 app.
- Node.js, supported versions: 18, 20, 22
- An Azure subscription
- Set up your dev environment for extending Teams apps across Microsoft 365
- Teams Toolkit Visual Studio Code Extension version 5.0.0 and higher or Teams Toolkit CLI
Here are the instructions to run the sample in Visual Studio Code. You can also try to run the app using Teams Toolkit CLI tool, refer to Try the Sample with Teams Toolkit CLI
- Clone the repo to your local workspace or directly download the source code.
- Download Visual Studio Code and install Teams Toolkit Visual Studio Code Extension.
- Open the project in Visual Studio Code.
- Open the
Run and Debug
Activity Panel. Select a target Microsoft application where the app runs:Debug in Teams
,Debug in Outlook
orDebug in the Microsoft 365 app
.
- Open the command palette and select
Teams: Provision
. - Once provision is completed, open the command palette and select
Teams: Deploy
.
- Once deployment is completed, you can preview the app running in Azure. In Visual Studio Code, open the
Run and Debug
Activity Panel. Select a target Microsoft application where the app runs:Launch Remote in Teams
,Launch Remote in Outlook
orLaunch Remote in the Microsoft 365 app
.
- The app will look like this when it runs for the first time.
- For the first time to run the app, you need to consent the app to get your profile information like your avatar. Click on "Accept" button to accept the Authorization.
- You could try to add new todo item by typing item by clicking "Add task" button.
- You could try to complete todo item by choosing the checkbox before the item.
- You could try to update todo item by typing text in todo item list.
- You could try to delete todo item by clicking "..." and then choose "delete" button.
Date | Author | Comments |
---|---|---|
Nov 9, 2021 | swatDong | add to support Teams Toolkit v2.10.0 |
Apr 18, 2022 | kuojianlu | update to support Teams Toolkit v3.8.0 |
Oct 17, 2022 | swatDong | update to support Teams Toolkit v4.1.0 |
Mar 28, 2023 | kuojianlu | update to support Teams Toolkit v5.0.0 |
We really appreciate your feedback! If you encounter any issue or error, please report issues to us following the Supporting Guide. Meanwhile you can make recording of your journey with our product, they really make the product better. Thank you!