Skip to content

mr-github-user/AuthenticationSample

Repository files navigation

Overview of the React with Fluent UI template

This app showcases how to craft a visually appealing web page that can be embedded in Microsoft Teams, Outlook and the Microsoft 365 app with React and Fluent UI. The app also enhances the end-user experiences with built-in single sign-on and data from Microsoft Graph.

This app has adopted On-Behalf-Of flow to implement SSO, and uses Azure Function as middle-tier service, and make authenticated requests to call Graph from Azure Function.

Get started with the React with Fluent UI template

Prerequisites

To run the command bot template in your local dev machine, you will need:

  1. First, select the Teams Toolkit icon on the left in the VS Code toolbar.
  2. In the Account section, sign in with your Microsoft 365 account if you haven't already.
  3. Press F5 to start debugging which launches your app in Teams using a web browser. Select Debug (Edge) or Debug (Chrome).
  4. When Teams launches in the browser, select the Add button in the dialog to install your app to Teams.

Congratulations! You are running an application that can now show a beautiful web page in Teams, Outlook and the Microsoft 365 app.

Personal tab demo

What's included in the template

Folder Contents
.vscode VSCode files for debugging
appPackage Templates for the Teams application manifest
env Environment files
infra Templates for provisioning Azure resources
src The source code for the Teams application

The following are Teams Toolkit specific project files. You can visit a complete guide on Github to understand how Teams Toolkit works.

File Contents
teamsapp.yml This is the main Teams Toolkit project file. The project file defines two primary things: Properties and configuration Stage definitions.
teamsapp.local.yml This overrides teamsapp.yml with actions that enable local execution and debugging.
aad.manifest.json This file defines the configuration of Microsoft Entra app. This template will only provision single tenant Microsoft Entra app.

Extend the React with Fluent UI template

Following documentation will help you to extend the React with Fluent UI template.

About

Authentication sample to help debug issue.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published