Skip to content

About

Azure Functions samples showcasing Connector triggers and bindings.

Resources

Code of conduct

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Azure Functions connectors samples (Python)

Run Python Azure Functions when events occur in Teams, Outlook, Salesforce, and other services. Events arrive through a Connector Namespace using managed connectors.

Deploy to Azure

Prerequisites

Each sample lists any additional requirements.

Choose a sample

Most connectors have standalone polling and webhook apps. Follow the selected app's deployment steps and run azd up from its folder to provision and deploy. Rerun azd up for changes or retries. Templates deploy Python 3.14 on Flex Consumption.

The Generic samples use existing resources instead of azd; follow their setup instructions.

Guide Connector
Office 365 Office 365 Outlook
SharePoint SharePoint Online
OneDrive OneDrive for Business
Teams Microsoft Teams
Dataverse Microsoft Dataverse (Common Data Service)
Azure Blob Azure Blob Storage
Generic Any connector, using raw string payloads
Kusto (handler scaffold) Azure Data Explorer
Azure DevOps Azure DevOps (Entra OAuth)
Planner Microsoft Planner
Salesforce Salesforce

Local development

Install Functions Core Tools and Azurite. Follow the selected app's local development steps for dependencies, local settings, and webhook tunnels where needed.

Test

Follow the selected app's test steps to generate source events and confirm function invocations in the logs.

Deprovision

For azd apps, run from the app's folder:

azd down --purge

Follow the app's additional cleanup instructions for source subscriptions or manually created resources.

More triggers

See Connector trigger payloads for Azure Functions for all supported connector triggers and their Python signatures.

Packages

Package Minimum Role
azure-functions 2.4.0 (Python 3.13+) Azure Functions Python SDK
azurefunctions-extensions-connectors 1.0.0 Connector trigger bindings (not needed by the generic raw-payload samples)

Python 3.12 and older supported versions

Install azure-functions>=1.27.0b1 before the sample requirements and set PYTHON_ISOLATE_WORKER_DEPENDENCIES=1 locally and in the deployed app.

Related repos

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.

About

Azure Functions samples showcasing Connector triggers and bindings.

Resources

Code of conduct

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages