Various samples for utilizing the Azure Python SDK with AAD.
This repository contains the following examples. Each example contains an additional README
that explains how to run the sample:
python-sdk-resource-creation-samples
- samples for various resource creationpython-sdk-msi-samples
- various Managed Identity Service (MSI) samplespython-sdk-msal-samples
- various MSAL samplespython-sdk-adal-samples
- various ADAL samplespython-sdk-azure-management-subscriptions
- Querying Azure Management using client secret or user impersonation.python-oauth2-azure-ad
- Sample in how to query Rest API without Azure SDK.python-sdk-graph-samples
- various Graph API samples
NOTE: The python-sdk-graph-samples use a preview library. The previously used SDK, Azure Active Directory Graph libraries for Python have not been updated since 2019 and can be deemed deprecated. If the preview libraries are not able to be used for whatever reason, utilize the Graph API (See README.md's in said samples for documentation on those calls) - which is what the new samples call under the hood.