An open API service indexing awesome lists of open source software.

https://github.com/Azure-Samples/ms-identity-python-desktop

A Python desktop application calling Microsoft Graph API
https://github.com/Azure-Samples/ms-identity-python-desktop

Last synced: 4 months ago
JSON representation

A Python desktop application calling Microsoft Graph API

Awesome Lists containing this project

README

        

---
page_type: sample
languages:
- python
- powershell
products:
- azure-active-directory
description: "This sample demonstrates a Python desktop app calling the Microsoft Graph that is secured using the Microsoft identity platform."
urlFragment: ms-identity-python
---

# See sample directories

A desktop app can perform different authentication flows based on the scenario. The samples in this repo are separated into sub-folders named by the authentication flow being used.

## Prerequisites

To run this sample, you'll need:

> - [Python 2.7+](https://www.python.org/downloads/release/python-2713/) or [Python 3+](https://www.python.org/downloads/release/python-364/)
> - MSAL Python
> ```Python
> pip msal
> ```
> - An Azure Active Directory (Azure AD) tenant. For more information on how to get an Azure AD tenant, see [how to get an Azure AD tenant.](https://docs.microsoft.com/azure/active-directory/develop/quickstart-create-new-tenant)

## Setup and run the sample

Download and extract the repository .zip file from your shell or command line.

Then, see the readme of each sub-folder to understand how to setup and run the samples, and learn key concepts.

## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [[email protected]](mailto:[email protected]) with any additional questions or comments.