msgraph-sample-reactspa icon indicating copy to clipboard operation
msgraph-sample-reactspa copied to clipboard

This sample demonstrates how to use the Microsoft Graph JavaScript SDK to access data in Office 365 from React browser apps.

Microsoft Graph sample React single-page app

This sample demonstrates how to use the Microsoft Graph JavaScript SDK to access data in Office 365 from React browser apps.

NOTE: This sample was originally built from a tutorial published on the Microsoft Graph tutorials page. That tutorial has been removed.

Running the sample

The code for this sample is in the demo folder. Instructions to configure and run the sample can be found in the README in that folder.

Version history

Version Date Comments
1.8 March 19, 2020 Refresh tutorial
1.7 December 3, 2019 Update to latest Graph SDK and create-react-app
1.6 June 18, 2019 Added link to screencast recording
1.5 May 24, 2019 2019Q4 content refresh
1.4 May 22, 2019 Quickstart updates
1.3 May 16, 2019 Updated AAD app registration steps
1.2 March 6, 2019 2019Q3 content refresh
1.1 February 8, 2019 Added slides
1.0 2018 Published

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Disclaimer

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.