Troubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems. WHEN: event hub SDK error, service bus SDK issue, messaging connection failure, AMQP error, event processor host issue, message lock lost, message lock expired, lock renewal, lock renewal batch, send timeout, receiver disconnected, SDK troubleshooting, azure messaging SDK, event hub consumer, service bus queue issue, topic subscription error, enable logging event hub, service bus logging, eventhub python, servicebus java, eventhub javascript, servicebus dotnet, event hub checkpoint, event hub not receiving messages, service bus dead letter, batch processing lock, session lock expired, idle timeout, connection inactive, link detach, slow reconnect, session error, duplicate events, offset reset, receive batch.
Written by Microsoft and published in microsoft/azure-skills under the MIT license. Treq shows it unchanged except for heading levels and links to files on GitHub.
| Property | Value |
|---|---|
| Services | Azure Event Hubs, Azure Service Bus |
| MCP Tools | mcp_azure_mcp_eventhubs, mcp_azure_mcp_servicebus |
| Best For | Diagnosing SDK connection, auth, and message processing issues |
| Tool | Command | Use |
|---|---|---|
mcp_azure_mcp_eventhubs |
Namespace/hub ops | List namespaces, hubs, consumer groups |
mcp_azure_mcp_servicebus |
Queue/topic ops | List namespaces, queues, topics, subscriptions |
mcp_azure_mcp_monitor |
logs_query |
Query diagnostic logs with KQL |
mcp_azure_mcp_resourcehealth |
get |
Check service health status |
mcp_azure_mcp_documentation |
Doc search | Search Microsoft Learn for troubleshooting docs |
mcp_azure_mcp_resourcehealth to verify the namespace is healthymcp_azure_mcp_documentation to search Microsoft Learn for the error or topicConnectivity, SDK, and auth troubleshooting guides are located in the azure-diagnostics skill under troubleshooting/messaging/.
mcp_azure_mcp_documentation to search Microsoft Learn for latest guidance.Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /azure-messaging in Claude Code or $azure-messaging in Codex.
The description says when to use it:
WHEN: event hub SDK error, service bus SDK issue, messaging connection failure, AMQP error, event processor host issue, message lock lost, message lock expired, lock renewal, lock renewal batch, send timeout, receiver disconnected, SDK…
Copy the azure-messaging folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/microsoft/azure-skills.git /tmp/microsoft-azure-skills
mkdir -p .claude/skills
cp -r /tmp/microsoft-azure-skills/skills/azure-messaging .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if azure-messaging does not appear.
git clone --depth 1 https://github.com/microsoft/azure-skills.git /tmp/microsoft-azure-skills
mkdir -p .agents/skills
cp -r /tmp/microsoft-azure-skills/skills/azure-messaging .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for azure-messaging and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
azure-messaging ships one file, SKILL.md, shown above.