From 6caaee77319fb3d6cb2b749c70586a1313bde78d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 29 Apr 2026 11:31:45 +0000 Subject: [PATCH] Sync plugin files from GitHub-Copilot-for-Azure --- .../azure-skills/.claude-plugin/plugin.json | 2 +- .../azure-skills/.cursor-plugin/plugin.json | 2 +- .../plugins/azure-skills/.plugin/plugin.json | 2 +- .github/plugins/azure-skills/CHANGELOG.md | 4 + .../skills/azure-diagnostics/SKILL.md | 8 +- .../troubleshooting/messaging/README.md | 35 ++ .../messaging}/auth-best-practices.md | 0 .../messaging}/azure-eventhubs-dotnet.md | 2 +- .../messaging}/azure-eventhubs-java.md | 2 +- .../messaging}/azure-eventhubs-js.md | 2 +- .../messaging}/azure-eventhubs-py.md | 4 +- .../messaging}/azure-servicebus-dotnet.md | 0 .../messaging}/azure-servicebus-java.md | 0 .../messaging}/azure-servicebus-js.md | 0 .../messaging}/azure-servicebus-py.md | 0 .../messaging}/service-troubleshooting.md | 0 .../skills/azure-messaging/SKILL.md | 13 +- .../skills/azure-prepare/SKILL.md | 3 +- .../skills/azure-resource-lookup/SKILL.md | 7 +- .../skills/entra-agent-id/SKILL.md | 356 ++++++++++++++++++ .../references/known-limitations.md | 56 +++ .../references/oauth2-token-flow.md | 134 +++++++ .../references/obo-blueprint-setup.md | 115 ++++++ .../references/runtime-token-exchange.md | 161 ++++++++ .../references/sdk-sidecar-deployment.md | 199 ++++++++++ .../entra-agent-id/references/sdk-sidecar.md | 125 ++++++ 26 files changed, 1210 insertions(+), 22 deletions(-) create mode 100644 .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/README.md rename .github/plugins/azure-skills/skills/{azure-messaging/references => azure-diagnostics/troubleshooting/messaging}/auth-best-practices.md (100%) rename .github/plugins/azure-skills/skills/{azure-messaging/references/sdk => azure-diagnostics/troubleshooting/messaging}/azure-eventhubs-dotnet.md (97%) rename .github/plugins/azure-skills/skills/{azure-messaging/references/sdk => azure-diagnostics/troubleshooting/messaging}/azure-eventhubs-java.md (97%) rename .github/plugins/azure-skills/skills/{azure-messaging/references/sdk => azure-diagnostics/troubleshooting/messaging}/azure-eventhubs-js.md (97%) rename .github/plugins/azure-skills/skills/{azure-messaging/references/sdk => azure-diagnostics/troubleshooting/messaging}/azure-eventhubs-py.md (96%) rename .github/plugins/azure-skills/skills/{azure-messaging/references/sdk => azure-diagnostics/troubleshooting/messaging}/azure-servicebus-dotnet.md (100%) rename .github/plugins/azure-skills/skills/{azure-messaging/references/sdk => azure-diagnostics/troubleshooting/messaging}/azure-servicebus-java.md (100%) rename .github/plugins/azure-skills/skills/{azure-messaging/references/sdk => azure-diagnostics/troubleshooting/messaging}/azure-servicebus-js.md (100%) rename .github/plugins/azure-skills/skills/{azure-messaging/references/sdk => azure-diagnostics/troubleshooting/messaging}/azure-servicebus-py.md (100%) rename .github/plugins/azure-skills/skills/{azure-messaging/references => azure-diagnostics/troubleshooting/messaging}/service-troubleshooting.md (100%) create mode 100644 .github/plugins/azure-skills/skills/entra-agent-id/SKILL.md create mode 100644 .github/plugins/azure-skills/skills/entra-agent-id/references/known-limitations.md create mode 100644 .github/plugins/azure-skills/skills/entra-agent-id/references/oauth2-token-flow.md create mode 100644 .github/plugins/azure-skills/skills/entra-agent-id/references/obo-blueprint-setup.md create mode 100644 .github/plugins/azure-skills/skills/entra-agent-id/references/runtime-token-exchange.md create mode 100644 .github/plugins/azure-skills/skills/entra-agent-id/references/sdk-sidecar-deployment.md create mode 100644 .github/plugins/azure-skills/skills/entra-agent-id/references/sdk-sidecar.md diff --git a/.github/plugins/azure-skills/.claude-plugin/plugin.json b/.github/plugins/azure-skills/.claude-plugin/plugin.json index 3b3cd8c4..2c8c5e67 100644 --- a/.github/plugins/azure-skills/.claude-plugin/plugin.json +++ b/.github/plugins/azure-skills/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "azure", "description": "Microsoft Azure MCP and Skills integration for cloud resource management, deployments, and Azure services. Manage your Azure infrastructure, monitor applications, and deploy resources directly from Claude Code.", - "version": "1.1.16", + "version": "1.1.20", "author": { "name": "Microsoft", "url": "https://www.microsoft.com" diff --git a/.github/plugins/azure-skills/.cursor-plugin/plugin.json b/.github/plugins/azure-skills/.cursor-plugin/plugin.json index b411bae8..b93557ae 100644 --- a/.github/plugins/azure-skills/.cursor-plugin/plugin.json +++ b/.github/plugins/azure-skills/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "azure", "description": "Microsoft Azure MCP and Skills integration for cloud resource management, deployments, and Azure services. Manage your Azure infrastructure, monitor applications, and deploy resources directly from Cursor.", - "version": "1.1.16", + "version": "1.1.20", "author": { "name": "Microsoft", "url": "https://www.microsoft.com" diff --git a/.github/plugins/azure-skills/.plugin/plugin.json b/.github/plugins/azure-skills/.plugin/plugin.json index 64552466..a6d6441f 100644 --- a/.github/plugins/azure-skills/.plugin/plugin.json +++ b/.github/plugins/azure-skills/.plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "azure", "description": "Microsoft Azure MCP and Skills integration for cloud resource management, deployments, and Azure services. Manage your Azure infrastructure, monitor applications, and deploy resources directly from your development environment.", - "version": "1.1.16", + "version": "1.1.20", "author": { "name": "Microsoft", "url": "https://www.microsoft.com" diff --git a/.github/plugins/azure-skills/CHANGELOG.md b/.github/plugins/azure-skills/CHANGELOG.md index 5c67b020..43530228 100644 --- a/.github/plugins/azure-skills/CHANGELOG.md +++ b/.github/plugins/azure-skills/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.1.19 + +- fix: strengthen azure-resource-lookup routing for web app/website prompts ([#2006](https://github.com/microsoft/GitHub-Copilot-for-Azure/pull/2006)) + ## 1.1.15 - feat: generate CHANGELOG.md at build time from git history ([#2068](https://github.com/microsoft/GitHub-Copilot-for-Azure/pull/2068)) diff --git a/.github/plugins/azure-skills/skills/azure-diagnostics/SKILL.md b/.github/plugins/azure-skills/skills/azure-diagnostics/SKILL.md index 843090d4..e13fb2ab 100644 --- a/.github/plugins/azure-skills/skills/azure-diagnostics/SKILL.md +++ b/.github/plugins/azure-skills/skills/azure-diagnostics/SKILL.md @@ -1,10 +1,10 @@ --- name: azure-diagnostics -description: "Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors." +description: "Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, service bus dead letter." license: MIT metadata: author: Microsoft - version: "1.1.2" + version: "1.1.3" --- # Azure Diagnostics @@ -25,6 +25,7 @@ Activate this skill when user wants to: - Troubleshoot Azure Function Apps (invocation failures, timeouts, binding errors) - Find the App Insights or Log Analytics workspace linked to a Function App - Troubleshoot AKS clusters, nodes, pods, ingress, or Kubernetes networking issues +- Troubleshoot Azure Messaging SDK issues (Event Hubs, Service Bus connection failures, AMQP errors, message lock issues) ## Rules @@ -54,6 +55,7 @@ Activate this skill when user wants to: | **Container Apps** | Image pull failures, cold starts, health probes, port mismatches | [container-apps/](references/container-apps/README.md) | | **Function Apps** | App details, invocation failures, timeouts, binding errors, cold starts, missing app settings | [functions/](references/functions/README.md) | | **AKS** | Cluster access, nodes, `kube-system`, scheduling, crash loops, ingress, DNS, upgrades | [AKS Troubleshooting](troubleshooting/aks/aks-troubleshooting.md) | +| **Messaging** | Event Hubs & Service Bus SDK errors, AMQP failures, message lock, connectivity | [Messaging Troubleshooting](troubleshooting/messaging/README.md) | --- @@ -61,6 +63,7 @@ Activate this skill when user wants to: - Keep Container Apps and Function Apps diagnostics in this parent skill. - Route active AKS incidents, AKS-specific intake, evidence gathering, and remediation guidance to [AKS Troubleshooting](troubleshooting/aks/aks-troubleshooting.md). +- Route Azure Messaging SDK troubleshooting (Event Hubs, Service Bus) to [Messaging Troubleshooting](troubleshooting/messaging/README.md). --- @@ -141,3 +144,4 @@ az monitor activity-log list -g RG --max-events 20 - [KQL Query Library](references/kql-queries.md) - [Azure Resource Graph Queries](references/azure-resource-graph.md) - [Function Apps Troubleshooting](references/functions/README.md) +- [Messaging Troubleshooting](troubleshooting/messaging/README.md) diff --git a/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/README.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/README.md new file mode 100644 index 00000000..0eab25b7 --- /dev/null +++ b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/README.md @@ -0,0 +1,35 @@ +# Azure Messaging Troubleshooting + +Diagnose and resolve issues with Azure Event Hubs and Service Bus SDKs. + +## Routing + +| Symptom | Guide | +|---------|-------| +| Connection failures, firewall, IP/VNet, WebSocket | [service-troubleshooting.md](service-troubleshooting.md) | +| SDK-specific errors (see language below) | Language guide | + +## SDK Troubleshooting by Language + +- **Event Hubs**: [Python](azure-eventhubs-py.md) | [Java](azure-eventhubs-java.md) | [JS](azure-eventhubs-js.md) | [.NET](azure-eventhubs-dotnet.md) +- **Service Bus**: [Python](azure-servicebus-py.md) | [Java](azure-servicebus-java.md) | [JS](azure-servicebus-js.md) | [.NET](azure-servicebus-dotnet.md) + +## Common Issues + +| Issue | Category | +|-------|----------| +| AMQP link detach, idle timeout, connection inactive | [service-troubleshooting.md](service-troubleshooting.md) | +| Message lock lost/expired, lock renewal failures | Language-specific SDK guide | +| Session lock errors, session receiver detach | Language-specific SDK guide | +| Duplicate events, checkpoint/offset reset | Language-specific SDK guide | +| Batch >1 MB rejected, partition key conflicts | [service-troubleshooting.md](service-troubleshooting.md) | + +## MCP Tools + +| Tool | Use | +|------|-----| +| `mcp_azure_mcp_eventhubs` | List namespaces, hubs, consumer groups | +| `mcp_azure_mcp_servicebus` | List namespaces, queues, topics, subscriptions | +| `mcp_azure_mcp_monitor` | Query diagnostic logs with KQL | +| `mcp_azure_mcp_resourcehealth` | Check service health status | +| `mcp_azure_mcp_documentation` | Search Microsoft Learn for troubleshooting docs | diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/auth-best-practices.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/auth-best-practices.md similarity index 100% rename from .github/plugins/azure-skills/skills/azure-messaging/references/auth-best-practices.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/auth-best-practices.md diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-dotnet.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-dotnet.md similarity index 97% rename from .github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-dotnet.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-dotnet.md index 42bff586..10ad4336 100644 --- a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-dotnet.md +++ b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-dotnet.md @@ -39,7 +39,7 @@ Configure via `EventHubsRetryOptions` when creating the client. See [Configuring Package: `Azure.Messaging.EventHubs.Processor` (includes `EventProcessorClient` + blob checkpoint store) -> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](../auth-best-practices.md) for production patterns. +> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](auth-best-practices.md) for production patterns. ```csharp var credential = new DefaultAzureCredential(); diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-java.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-java.md similarity index 97% rename from .github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-java.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-java.md index 7fdf6a84..0d8bf97e 100644 --- a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-java.md +++ b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-java.md @@ -38,7 +38,7 @@ See [Java SDK logging docs](https://learn.microsoft.com/azure/developer/java/sdk Package: `azure-messaging-eventhubs-checkpointstore-blob` -> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](../auth-best-practices.md) for production patterns. +> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](auth-best-practices.md) for production patterns. ```java TokenCredential credential = new DefaultAzureCredentialBuilder().build(); diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-js.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-js.md similarity index 97% rename from .github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-js.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-js.md index 9800e5af..1bb8c751 100644 --- a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-js.md +++ b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-js.md @@ -43,7 +43,7 @@ localStorage.debug = "azure:*:info"; Package: `@azure/eventhubs-checkpointstore-blob` -> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](../auth-best-practices.md) for production patterns. +> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](auth-best-practices.md) for production patterns. ```javascript const { BlobCheckpointStore } = require("@azure/eventhubs-checkpointstore-blob"); diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-py.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-py.md similarity index 96% rename from .github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-py.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-py.md index aa0d4384..afab2401 100644 --- a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-eventhubs-py.md +++ b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-eventhubs-py.md @@ -13,7 +13,7 @@ Package: `azure-eventhub` | [README](https://github.com/Azure/azure-sdk-for-pyth ## Retry Configuration -> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](../auth-best-practices.md) for production patterns. +> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](auth-best-practices.md) for production patterns. ```python from azure.eventhub import EventHubProducerClient @@ -32,7 +32,7 @@ client = EventHubProducerClient( ## Consumer Client Retry Configuration -> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](../auth-best-practices.md) for production patterns. +> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](auth-best-practices.md) for production patterns. Under heavy load, tune the retry policy on `EventHubConsumerClient` to reduce timeouts: diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-servicebus-dotnet.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-servicebus-dotnet.md similarity index 100% rename from .github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-servicebus-dotnet.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-servicebus-dotnet.md diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-servicebus-java.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-servicebus-java.md similarity index 100% rename from .github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-servicebus-java.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-servicebus-java.md diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-servicebus-js.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-servicebus-js.md similarity index 100% rename from .github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-servicebus-js.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-servicebus-js.md diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-servicebus-py.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-servicebus-py.md similarity index 100% rename from .github/plugins/azure-skills/skills/azure-messaging/references/sdk/azure-servicebus-py.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/azure-servicebus-py.md diff --git a/.github/plugins/azure-skills/skills/azure-messaging/references/service-troubleshooting.md b/.github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/service-troubleshooting.md similarity index 100% rename from .github/plugins/azure-skills/skills/azure-messaging/references/service-troubleshooting.md rename to .github/plugins/azure-skills/skills/azure-diagnostics/troubleshooting/messaging/service-troubleshooting.md diff --git a/.github/plugins/azure-skills/skills/azure-messaging/SKILL.md b/.github/plugins/azure-skills/skills/azure-messaging/SKILL.md index 415a8657..512147e5 100644 --- a/.github/plugins/azure-skills/skills/azure-messaging/SKILL.md +++ b/.github/plugins/azure-skills/skills/azure-messaging/SKILL.md @@ -4,7 +4,7 @@ description: "Troubleshoot and resolve issues with Azure Messaging SDKs for Even license: MIT metadata: author: Microsoft - version: "1.1.1" + version: "1.1.2" --- # Azure Messaging SDK Troubleshooting @@ -48,15 +48,10 @@ metadata: 6. **Recommend fix** — Apply remediation, citing documentation found -## Connectivity Troubleshooting +## Troubleshooting Guides -See [Service Troubleshooting Guide](references/service-troubleshooting.md) for ports, WebSocket fallback, IP firewall, private endpoints, and service tags. - -## SDK Troubleshooting Guides - -- **Event Hubs**: [Python](references/sdk/azure-eventhubs-py.md) | [Java](references/sdk/azure-eventhubs-java.md) | [JS](references/sdk/azure-eventhubs-js.md) | [.NET](references/sdk/azure-eventhubs-dotnet.md) -- **Service Bus**: [Python](references/sdk/azure-servicebus-py.md) | [Java](references/sdk/azure-servicebus-java.md) | [JS](references/sdk/azure-servicebus-js.md) | [.NET](references/sdk/azure-servicebus-dotnet.md) +Connectivity, SDK, and auth troubleshooting guides are located in the azure-diagnostics skill under `troubleshooting/messaging/`. ## References -Use `mcp_azure_mcp_documentation` to search Microsoft Learn for latest guidance. See [Service Troubleshooting Guide](references/service-troubleshooting.md) for network and service-level docs. \ No newline at end of file +- Use `mcp_azure_mcp_documentation` to search Microsoft Learn for latest guidance. \ No newline at end of file diff --git a/.github/plugins/azure-skills/skills/azure-prepare/SKILL.md b/.github/plugins/azure-skills/skills/azure-prepare/SKILL.md index 8961e174..af3d3114 100644 --- a/.github/plugins/azure-skills/skills/azure-prepare/SKILL.md +++ b/.github/plugins/azure-skills/skills/azure-prepare/SKILL.md @@ -4,7 +4,7 @@ description: "Prepare Azure apps for deployment (infra Bicep/Terraform, azure.ya license: MIT metadata: author: Microsoft - version: "1.2.6" + version: "1.2.7" --- # Azure Prepare @@ -38,6 +38,7 @@ Activate this skill when user wants to: 8. ⛔ **NEVER delete user project or workspace directories** — When adding features to an existing project, MODIFY existing files. `azd init -t