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
- Host: GitHub
- URL: https://github.com/Azure-Samples/ms-identity-python-desktop
- Owner: Azure-Samples
- License: mit
- Created: 2019-10-17T22:26:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-27T09:24:09.000Z (about 5 years ago)
- Last Synced: 2024-08-14T07:06:40.232Z (8 months ago)
- Language: PowerShell
- Size: 359 KB
- Stars: 21
- Watchers: 35
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- jimsghstars - Azure-Samples/ms-identity-python-desktop - A Python desktop application calling Microsoft Graph API (PowerShell)
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.