This repository contains Python samples for the Connector Namespace integration with Azure Functions. Each connector folder documents its supported events, bindings, prerequisites, and setup steps. Start with the guide for the connector you want to use.
Azure Functions integrates with the managed connectors platform that backs Logic Apps and Power Platform:
- Connector triggers — run a function when an event occurs in an external service, such as a new email, file, or Teams message.
-
Azure CLI (
az) ≥ 2.75.0 -
connector-namespaceAzure CLI extension — install with:# Bash curl -fsSL https://aka.ms/connector-namespace-cli-install | sh
or
# PowerShell irm https://aka.ms/connector-namespace-cli-install-ps | iex
-
jq(for bash post-deploy scripts on macOS/Linux)
Follow each connector's guide for deployment or setup. Each polling or webhook folder is an independent app; some samples use existing Azure resources rather than provisioning them with azd up.
The included deployment templates use Python 3.14 on Flex Consumption.
See the Operations to Azure Functions Signature Mapping for supported connector triggers and their Python signatures.
| Package | Stable minimum | Role |
|---|---|---|
azure-functions |
>=2.4.0 (Python 3.13+) |
The Azure Functions Python SDK. |
azurefunctions-extensions-connectors |
>=1.0.0 |
Connector trigger bindings. |
Install requirements from the selected app's folder. Requirements select the Functions SDK for your Python version; the generic raw-payload samples do not need the connector extension.
On Python 3.12 and older supported Functions runtimes, requirements select azure-functions>=1.27.0b1. Set PYTHON_ISOLATE_WORKER_DEPENDENCIES=1 locally and in the deployed app. This older SDK requires a beta minimum because no stable 1.27.0 release exists. Deployment templates use Python 3.14.
| Repo | Purpose |
|---|---|
| Azure/connectors-python-SDK | azure-connectors — Python SDK for Azure Connectors. |
| Azure/azure-functions-python-extensions | azurefunctions-extensions-connectors — the binding extension consumed by these samples. |