You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Overview
4
4
5
-
This repository contains the Python SDK for Azure Logic Apps connectors. Code must follow Python best practices (PEP 8, PEP 484) and the team's conventions for async/await patterns, type safety, and API design.
5
+
This repository contains the Python SDK for Azure Connectors. Code must follow Python best practices (PEP 8, PEP 484) and the team's conventions for async/await patterns, type safety, and API design.
Copy file name to clipboardExpand all lines: .github/skills/connection-setup/SKILL.md
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
name: connection-setup
3
-
description: 'Create and configure Connector Gateway connections for SDK-supported connectors. USE WHEN: setting up a new connector connection, creating an Connector Gateway, authorizing OAuth consent, adding access policies, or configuring local.settings.json / app settings. Covers Office365, SharePoint, Teams, and any Microsoft.Web/connections connector. NOT FOR: general SDK usage, triggerregistration, or code generation.'
3
+
description: 'Create and configure Connector Namespace connections for the Azure Connectors Python SDK. USE WHEN: setting up a new connector connection, creating a Connector Namespace, authorizing OAuth consent, adding access policies, or configuring local.settings.json / app settings. Covers Office365, SharePoint, Teams, and any Microsoft.Web/connections connector. Works with Azure Functions, Flask, FastAPI, Django, or any Python app using the SDK. NOT FOR: trigger registration (use trigger-registration skill), or code generation.'
4
4
---
5
5
6
-
# Connector Gateway Connection Setup
6
+
# Connector Namespace Connection Setup
7
7
8
-
Automates the end-to-end connection lifecycle for SDK-supported connectors, keeping the developer in VS Code.
8
+
Automates the end-to-end connection lifecycle for SDK-supported connectors. Connections created here can be used by any Python app via the `azure-connectors` package — Azure Functions, Flask, FastAPI, Django, scripts, etc.
9
9
10
10
## When to Use
11
11
@@ -23,7 +23,7 @@ Automates the end-to-end connection lifecycle for SDK-supported connectors, keep
23
23
24
24
## Procedure
25
25
26
-
### Step 1: Create or Select Connector Gateway
26
+
### Step 1: Create or Select Connector Namespace
27
27
28
28
Check for an existing Connector Namespace in the resource group:
29
29
@@ -175,3 +175,16 @@ az rest --method GET --uri "$runtimeUrl/beta/me/joinedTeams" --resource "https:/
175
175
# Azure Blob — list datasets
176
176
az rest --method GET --uri "$runtimeUrl/v2/datasets" --resource "https://apihub.azure.com" -o json
177
177
```
178
+
179
+
## Next Steps
180
+
181
+
-**SDK usage:** Use the connection runtime URL with the SDK's typed async clients:
182
+
```python
183
+
from azure.connectors.office365 import Office365Client
184
+
from azure.connectors.sdk import ManagedIdentityTokenProvider
185
+
186
+
asyncwith Office365Client(runtime_url, ManagedIdentityTokenProvider()) as client:
-**Azure Functions triggers:** To register connector triggers (e.g., OnNewEmail, OnNewFile) for Azure Functions, use the [trigger-registration skill](../trigger-registration/SKILL.md).
190
+
-**Azure Functions signatures:** For a complete mapping of trigger operations to Azure Functions signatures, see [Operations to Functions Signature Match](https://github.com/Azure/azure-functions-connector-extension/blob/main/docs/operations-functions-match.md).
0 commit comments