This app shows how to create a connector using Microsoft Graph Python SDK.
- Python and pip installed on your development machine.
- Microsoft work or school account to test the connector. If you don't have a Microsoft account, you can sign up for the Microsoft 365 Developer Program to get a free Microsoft 365 subscription.
Client Id
of an application registered in the Microsoft identity platform
Install Azure Identity and Microsoft Graph SDK:
python3 -m pip install azure-identity
python3 -m pip install msgraph-sdk
Run the app:
python3 main.py