This sample shows how you can use the Microsoft Graph Toolkit with React and TypeScript, using the Parcel web application bundler.
The sample uses the Login
component to authenticate with Azure and the Get
component with a custom template to render the current users profile.
- Clone repo
- Make AAD setup file executable
chmod +x scripts/aad-setup.sh
- Execute AAD setup script following prompts
./scripts/aad-setup.sh
- Install dependencies
npm install
- Start web server
npm start
- Open
http://localhost:1234