azure-functions-connector-create
Skill22 starsChanged 12 days agoMITView on GitHub
Create and authorize a Connector Namespace connection for an Azure Functions Hosted Skill. Use when the user needs to add Outlook, Teams, SharePoint, Azure DevOps, or another managed connector; determine connector authentication requirements; provision connection access policies; or prepare an authorized connection for MCP configuration. Do not use for MCP schema generation alone or ordinary Hosted Skill authoring.
In this repository67 other files it gives its agents.
- AGENTS.mdAGENTS.md
- evals/azure-functions-update/fixtures/AGENTS.mdAGENTS.md
- starter/hosted-skills/agent-files/AGENTS.mdAGENTS.md
- templates/agents/AGENTS.mdAGENTS.md
- templates/starter/agent-files/hosted-skills/AGENTS.mdAGENTS.md
- tests/fixtures/starter/agent-files/AGENTS.mdAGENTS.md
- tests/fixtures/starter/agent-files-unknown/AGENTS.mdAGENTS.md
- starter/hosted-skills/agent-files/CLAUDE.mdCLAUDE.md
- templates/starter/agent-files/hosted-skills/CLAUDE.mdCLAUDE.md
- tests/fixtures/starter/agent-files/CLAUDE.mdCLAUDE.md
- tests/fixtures/starter/agent-files-unknown/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- starter/hosted-skills/agent-files/copilot-instructions.mdCopilot instructions
- templates/starter/agent-files/hosted-skills/copilot-instructions.mdCopilot instructions
- tests/fixtures/starter/agent-files/copilot-instructions.mdCopilot instructions
- tests/fixtures/starter/agent-files-unknown/copilot-instructions.mdCopilot instructions
- azure-functions-best-practicesSkill
- azure-functions-commonSkill
- azure-functions-connector-createSkill
- azure-functions-connector-mcpSkill
- azure-functions-connector-validateSkill
- azure-functions-createSkill
- azure-functions-deploySkill
- azure-functions-diagnosticsSkill
- azure-functions-doctorSkill
- azure-functions-feedbackSkill
- azure-functions-health-statusSkill
- azure-functions-helpSkill
- azure-functions-hosted-skills-migrateSkill
- azure-functions-hosted-skillsSkill
- azure-functions-inventorySkill
- azure-functions-setupSkill
- azure-functions-updateSkill
- frdSkill
- azure-functions-best-practicesSkill
- azure-functions-commonSkill
- azure-functions-createSkill
- azure-functions-deploySkill
- azure-functions-diagnosticsSkill
- azure-functions-doctorSkill
- azure-functions-feedbackSkill
- azure-functions-health-statusSkill
- azure-functions-helpSkill
- azure-functions-inventorySkill
- azure-functions-setupSkill
- azure-functions-updateSkill
- azure-functions-connector-createSkill
- azure-functions-connector-mcpSkill
- azure-functions-connector-validateSkill
- azure-functions-hosted-skills-migrateSkill
- azure-functions-hosted-skillsSkill
- azure-functions-best-practicesSkill
- azure-functions-commonSkill
- azure-functions-connector-mcpSkill
- azure-functions-connector-validateSkill
- azure-functions-createSkill
- azure-functions-deploySkill
- azure-functions-diagnosticsSkill
- azure-functions-doctorSkill
- azure-functions-feedbackSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Create the Connector Namespace, connection, and identity boundary that a Hosted Skill needs before an MCP server config can expose …
- Distinctive: line 47
Ask only for unresolved decisions.
- Very specific: line 52
Inspect the application: Read azure.yaml, infra/, src/mcp.json, agent definitions, and existing Microsoft.Web/connectorGateways resources.
- Very specific: line 58
Discover the connector contract: Read the managed API metadata for the target connector and region.
- Very specific: line 67
Create stable infrastructure: Prefer Bicep and azd for the Connector Namespace, connection, identities, access policies, non-secret …
- Distinctive: line 84
Use least privilege at both the connection-access and operation levels.
- Distinctive: line 85
Do not infer authentication schemes or required values from connector display names.
- Distinctive: line 86
Do not print connection runtime URLs, tokens, consent artifacts, callback URLs, or secrets.
- Distinctive: line 87
Do not automate delegated OAuth sign-in.
- Distinctive: line 88
Do not treat a successfully created resource as an authorized connection.
- Distinctive: line 89
Do not silently reuse a connection authorized as the wrong downstream user.
- Distinctive: line 90
If a connector's required value-based connection shape is not verified, report it as unsupported rather than guessing.
- Very specific: line 92
Do not run a deployment collector from this connector skill.
- Distinctive: line 105
no MCP operation schema was manually simplified during connection creation,
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create a Connector for Azure Functions Hosted Skills
Create the Connector Namespace, connection, and identity boundary that a Hosted Skill needs before an MCP server config can expose connector operations. Treat connection creation as privileged control-plane work. A Hosted Skill must not create connections or complete consent during an ordinary runtime invocation.
Ownership
This skill owns:
- connector catalog and authentication discovery,
- Connector Namespace and connection planning,
- connection creation parameters,
- access policies for the Function App identity and approved deployment principals,
- the interactive authorization handoff,
- verification that the intended account is connected.
It does not own:
- generating or registering connector MCP operation schemas; use
azure-functions-connector-mcp, - validating the complete deployed MCP contract and side effects; use
azure-functions-connector-validate, - writing the Hosted Skill's instructions, triggers, or business behavior; use
azure-functions-hosted-skills, - general Azure deployment execution when Azure Skills should own it.
Required inputs
Establish these facts before creating resources:
- Hosted Skill goal and the external system it needs.
- Required reads, writes, triggers, and user-visible side effects.
- Azure subscription, resource group, Connector Namespace name, and supported region.
- Function App managed identity principal ID and tenant ID.
- Account or service identity that should own downstream authorization.
- Whether the user wants a new connection or to reuse an existing authorized connection.
Ask only for unresolved decisions. Never request secrets in chat. For Teams targets, ask for a Teams link rather than raw team, channel, or chat IDs.
Workflow
- Inspect the application. Read
azure.yaml,infra/,src/mcp.json, agent definitions, and existingMicrosoft.Web/connectorGatewaysresources. Preserve existing naming and infrastructure patterns. - Translate intent into capabilities. Identify the minimum connector operations and side effects needed. Prefer read, draft, or review capabilities over send, delete, or update when those satisfy the goal.
- Discover the connector contract. Read the managed API metadata for the target connector and
region. Inspect both
connectionParametersandconnectionParameterSets; do not assume the Office 365 OAuth pattern applies to another connector. - Choose authentication explicitly. Select a named parameter set only after verifying its required values. Distinguish delegated OAuth, service-principal, certificate, and value-based authentication. Source secrets from an approved secret store.
- Plan the identity boundary. Grant connection access only to the Function App identity, approved deployment/local-development principals, and provider identities that the Connector Namespace contract requires.
- Create stable infrastructure. Prefer Bicep and
azdfor the Connector Namespace, connection, identities, access policies, non-secret settings, and outputs. Do not hand-author an MCP operation schema in this phase. - Complete authorization explicitly. Open the Connector Namespace experience at
connectors.azure.comfor delegated consent. Explain which downstream account will own the connection and what capabilities it grants. OAuth consent remains a human action. - Verify the connection. Require
properties.overallStatus == Connectedfor the intended account and verify the Function App identity has an explicit access policy. - Hand off to MCP publication. Pass the exact connector name, connection resource ID/name,
selected operations, authentication result, and safety decisions to
azure-functions-connector-mcp.
Load connection-lifecycle.md for discovery rules, authentication cases, recreation behavior, and the handoff record.
Safety rules
- Use least privilege at both the connection-access and operation levels.
- Do not infer authentication schemes or required values from connector display names.
- Do not print connection runtime URLs, tokens, consent artifacts, callback URLs, or secrets.
- Do not automate delegated OAuth sign-in.
- Do not treat a successfully created resource as an authorized connection.
- Do not silently reuse a connection authorized as the wrong downstream user.
- If a connector's required value-based connection shape is not verified, report it as unsupported rather than guessing.
- Do not run a deployment collector from this connector skill. The
azure-functions-hosted-skillsskill owns the internalazure_deployment_observedevent after its supported deployment command succeeds. Do not duplicate that event.
Definition of done
The connection phase is complete only when:
- the selected connector and authentication scheme are recorded,
- the connection exists in the intended Connector Namespace and region,
- required access policies include the Hosted Skill's Function App identity,
- delegated consent or credential configuration is complete,
- connection status is
Connected, - no MCP operation schema was manually simplified during connection creation,
- the MCP publication handoff contains the exact selected operation IDs and safety constraints.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

