/neonechoFlask

A Python web application calling Microsoft graph that is secured using the Microsoft identity platform

Primary LanguagePowerShellMIT LicenseMIT

Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 5 column 11
---

page_type: sample
languages:

- python
  products:
- azure-active-directory
  description: "This sample demonstrates a Python web application calling a Microsoft Graph that is secured using Azure Active Directory."
  urlFragment: ms-identity-python-webapp

---

Integrating Microsoft Identity Platform with a Python web application

This is a Python web application that uses the Flask framework and the Microsoft identity platform to sign in users and make authenticated calls to the Microsoft Graph API.

Basic dev command to start flask

'py -m flask run --host localhost --port 5000'

To get started with this sample, you have two options:

Deployment

Once you finish testing this web app locally, you can deploy it to your production. You may choose any web app hosting services you want. Here we will describe how to deploy it to Azure App Service.

Contributing

If you find a bug in the sample, please raise the issue on GitHub Issues.

If you'd like to contribute to this sample, see CONTRIBUTING.MD.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.