r/microsoft_365_copilot • u/19khushboo • 15h ago
Is it possible to connect Microsoft Copilot directly to Windows Event Logs and Azure Logs without storing logs in Sentinel or Log Analytics?
Hi everyone,
I'm exploring ways to integrate Microsoft Copilot with Windows Event Logs and Azure Logs for AI-powered log analysis.
I want to understand whether Microsoft Copilot (Microsoft 365 Copilot or Copilot Studio) supports direct access to Windows Event Viewer logs on on-premises servers or Domain Controllers, similar to how ChatGPT and Claude can connect to external data sources through MCP connectors.
My requirements are:
- Copilot should be able to directly query Windows Event Logs (Security, System, and Application).
- It should also be able to query Azure-related logs.
Users should be able to ask questions in natural language, such as:
- Show failed login attempts (Event ID 4625) on DC01 in the last 24 hours.
- Identify suspicious Domain Admin activities.
- Find account lockout events (Event ID 4740).
- Ideally, logs should be fetched on demand without permanently storing or forwarding them to Azure Log Analytics or Microsoft Sentinel.
My questions:
- Does Microsoft Copilot support direct access to Windows Event Logs?
- Is there an official MCP server, connector, or integration for this use case?
- Can Copilot Studio connect to on-premises Windows Event Logs through a custom connector or API?
- Is there any supported way to query Azure logs directly without using Log Analytics?
I would appreciate any real-world implementation experience, documentation, or architectural recommendations.
Thanks!