page_type | languages | products | description | urlFragment | |||
---|---|---|---|---|---|---|---|
sample |
|
|
This sample demonstrates a Python desktop app calling the Microsoft Graph that is secured using the Microsoft identity platform. |
ms-identity-python |
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.
To run this sample, you'll need:
- Python 2.7+ or Python 3+
- MSAL 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.
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.
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. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.