Inferensys

Integration

AI Integration for ITSM Microsoft Teams Collaboration

Embed conversational AI agents within Microsoft Teams channels to create, update, and query ServiceNow or Jira Service Management tickets using natural language, reducing friction for end-users and IT teams.
Developer demonstrating multi-agent tool use, agent tool selection interface on laptop, casual tech demo moment.
CONTEXT-AWARE AGENTS FOR TICKETING AND SUPPORT

Bringing ITSM Workflows into Microsoft Teams with AI

Embed AI agents directly into Microsoft Teams channels to create, update, and resolve ServiceNow or Jira Service Management tickets using natural language, keeping IT support workflows where teams already collaborate.

The integration connects an AI agent, hosted via the Microsoft Teams Bot Framework, to your ITSM platform's REST API—typically ServiceNow's Table API or Jira Service Management's Issue API. The agent listens in designated Teams channels, parsing user messages like "My monitor won't turn on" or "Can someone reset my VPN password?" It uses an LLM to extract intent, identify the caller (via Microsoft Graph), and structure a payload with the correct category, urgency, short_description, and caller_id. For existing tickets, the agent can query status, add work notes, or escalate based on natural language commands, pulling context from the Teams thread to enrich the ITSM record.

Rollout follows a phased approach, starting with a pilot channel for IT staff before expanding to department-specific channels. Governance is critical: the agent's permissions are scoped via ServiceNow ACLs or Jira project roles and Microsoft Teams channel moderation to control who can create or modify tickets. All actions are logged with a clear audit trail, tagging the Teams user and timestamp in the ITSM work_notes. A key implementation nuance is handling attachments: the agent can process screenshots or error logs shared in Teams, using vision or document AI to extract relevant data (e.g., error codes) before attaching the file to the corresponding ticket.

This integration shifts ticket creation from a multi-step portal login to a conversational workflow in the flow of work. Impact is directional: it can reduce the time to log a ticket from minutes to seconds and improve first-contact resolution by allowing agents to ask clarifying questions and update tickets directly within the Teams thread. For a production deployment, we recommend implementing a human-in-the-loop approval for certain request types (like software installs) and setting up proactive monitoring for the agent's API call success rate and hallucination detection to maintain service quality. Related architecture patterns can be found in our guides for AI Integration for ITSM Slack Collaboration and AI-Enhanced Virtual Agent for ITSM Platforms.

ARCHITECTURE BLUEPRINT

Where AI Connects: Teams and ITSM Touchpoints

Conversational Interface Layer

This is the primary user-facing surface where AI agents operate. Integration occurs via Microsoft Teams Bots registered in Azure Bot Service, listening for @mentions or commands in:

  • Team Channels: For group collaboration on major incidents or change requests.
  • Private Chats: For individual user support and ticket status inquiries.
  • Meeting Chats: To capture action items and decisions that should spawn follow-up tickets.

The AI agent acts as a conversational bridge, interpreting natural language requests like "Create a high priority incident for the payroll outage" or "What's the status of my laptop request?" It then uses the ITSM platform's REST API to execute the action and return a confirmation or result back to the Teams thread. Authentication is typically handled via service principals with delegated user permissions.

INTEGRATION PATTERNS

High-Value Use Cases for AI in Teams-ITSM Collaboration

Embedding AI agents within Microsoft Teams channels that connect directly to ServiceNow or Jira Service Management transforms reactive support into proactive, conversational workflows. These patterns reduce context switching, accelerate resolution, and make IT support a natural part of daily collaboration.

01

Conversational Ticket Creation & Update

Users describe an issue in a Teams channel ("My monitor won't turn on"). An AI agent parses the request, asks clarifying questions via adaptive cards, and creates a fully-formed incident in ServiceNow or JSM with correct category, priority, and description. Agents can also update tickets via natural language ("Mark SVC0012345 as resolved, fix was a reboot").

3 mins -> 30 secs
Ticket submission
02

Channel-Based Ticket Triage & Assignment

An AI agent monitors a dedicated #it-support channel, ingesting all user messages. It uses LLM classification to identify which messages represent new issues versus general discussion, automatically creates tickets for valid issues, and suggests assignment to the correct support group based on historical routing data and CMDB context.

Batch -> Real-time
Triage cadence
03

Context-Aware Agent Copilot in Teams

Support agents work within a Teams tab or via direct message with an AI copilot. The agent can query ("Show me similar past incidents"), request draft responses, or ask for troubleshooting steps. The copilot fetches real-time data from the ITSM platform's REST API and knowledge base, grounding its suggestions in the active ticket's context.

Hours -> Minutes
Research time
04

Automated Status Broadcasts & Notifications

For major incidents or planned changes, an AI agent generates clear, concise summaries from the ServiceNow record and posts updates to designated Teams channels. It can answer follow-up questions from users in the thread ("Is the ERP system affected?") by querying the ITSM platform's CMDB and outage records in real-time.

Manual -> Automated
Communication
05

Knowledge Retrieval via Team Chat

Users and agents can ask natural language questions in Teams ("How do I connect to the VPN from a Mac?"). The AI agent performs a RAG search against the ServiceNow Knowledge Base or Confluence, returning a step-by-step answer and linking to the full article. It logs these interactions to identify knowledge gaps.

Deflect Tier 1
Support goal
06

Approval Workflows in Teams Channels

For change requests or procurement approvals routed through ServiceNow, the AI agent posts an interactive adaptive card to a manager's Teams channel. The manager can approve, reject, or ask questions ("Why is this downtime needed?"). The agent fetches additional context from the change record and updates the ITSM platform upon decision.

Same day
Approval cycle
ITSM COLLABORATION AUTOMATION

Example AI-Powered Workflows in Microsoft Teams

These workflows illustrate how AI agents embedded in Microsoft Teams channels can interact with ServiceNow or Jira Service Management, turning conversational requests into structured IT service actions. Each flow is triggered within a Teams channel, uses the platform's APIs for context, and updates the system of record.

Trigger: A user posts a message in a designated IT support Teams channel (e.g., #it-helpdesk).

Context/Data Pulled:

  • The full message text and thread history from the Teams API.
  • The user's Azure AD/Entra ID (from the Teams context) to map to the ITSM user record.
  • Recent tickets filed by the user for historical context.

Model/Agent Action:

  1. An AI agent, listening via a Teams webhook or bot, parses the message: "My laptop fan is super loud and it's running slow, can someone take a look?"
  2. The LLM classifies the request, extracting:
    • Category: Hardware
    • Subcategory: Laptop
    • Short Description: "Noisy fan and performance issues on laptop"
    • Priority: Based on keywords (slow, loud) and user role (determined from Entra ID), suggests Priority 3 - Medium.
    • Assignment Group: Suggests "Desktop Support" based on category.

System Update/Next Step:

  • The agent calls the ITSM platform's REST API (e.g., ServiceNow's incident table or Jira SM's issue endpoint) to create a ticket with the structured data.
  • Posts a threaded reply in Teams: "✅ Ticket INC0012345 created for you with the Desktop Support team. I've noted the noisy fan and performance issues. You can track it here: <link_to_ticket>"

Human Review Point: The agent is configured to flag certain keywords (data loss, security) for immediate human review before ticket creation. All auto-created tickets are tagged for a daily QA audit.

AGENT-TO-PLATFORM ORCHESTRATION

Implementation Architecture: Data Flow and System Design

A secure, event-driven architecture that connects conversational AI in Microsoft Teams to your core ITSM platform's data and workflows.

The integration is built on a hub-and-spoke model where a central orchestration service acts as the secure intermediary between the Microsoft Teams Bot Framework and the ITSM platform's REST API (ServiceNow, Jira Service Management, etc.). The Teams bot captures natural language requests via @mentions or direct messages. The orchestration service authenticates the user via Microsoft Entra ID, maps their identity to an ITSM user record, and uses an LLM (like GPT-4) to parse intent and extract structured data—such as ticket category, priority, description, and affected CI—from the chat message. This structured payload is then validated against business rules before the service executes the appropriate ITSM API call to create or update a record.

For bidirectional sync and real-time updates, the architecture employs webhook listeners and message queues. When a ticket is updated in the ITSM platform (e.g., status changes, new comments), a webhook fires to the orchestration service, which places an event in a queue (like Azure Service Bus). A separate worker process consumes these events, uses the LLM to generate a concise, natural language summary, and pushes an adaptive card or message back into the specific Teams channel or user chat where the ticket was created. This maintains context without requiring agents to switch applications. All prompts, tool calls, and data transformations are logged with full audit trails linking Teams user, message ID, and ITSM record Sys ID for compliance.

Rollout follows a phased, governance-first approach. Start with a pilot group and scoped permissions, allowing the bot to only interact with specific ticket types (e.g., "Access Request") in a sandbox ITSM instance. Implement human-in-the-loop approval gates for high-risk actions like priority changes or closures directly from chat. The orchestration service should enforce role-based access control (RBAC) inherited from the ITSM platform, ensuring a help desk agent and an end-user have different capabilities within Teams. For production resilience, design the LLM calls with fallback logic to a keyword-based parser and implement retry policies for ITSM API failures to ensure the chat experience remains responsive even during backend platform maintenance.

IMPLEMENTATION PATTERNS

Code and Payload Examples

Handling a User Message in Teams

Your Microsoft Teams bot receives an Activity object when a user sends a message. This handler authenticates the user, extracts the query, calls an LLM to interpret intent, and then interacts with the ITSM platform's API.

python
from botbuilder.core import TurnContext
from botbuilder.schema import Activity
import aiohttp

async def on_message_activity(turn_context: TurnContext):
    user_message = turn_context.activity.text
    user_id = turn_context.activity.from_property.id

    # 1. Call LLM to parse intent and entities
    llm_payload = {
        "user_query": user_message,
        "user_context": {"id": user_id, "department": "Engineering"}
    }
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://your-llm-gateway/parse",
            json=llm_payload
        ) as resp:
            parsed_intent = await resp.json()  # e.g., {"action": "create_incident", "summary": "VPN not connecting", "priority": "P3"}

    # 2. Execute the ITSM action
    if parsed_intent["action"] == "create_incident":
        servicenow_payload = {
            "short_description": parsed_intent["summary"],
            "priority": parsed_intent["priority"],
            "caller_id": user_id,
            "description": f"Raised via Teams by {user_id}. Query: {user_message}"
        }
        # Call ServiceNow REST API
        async with session.post(
            "https://your-instance.service-now.com/api/now/table/incident",
            json=servicenow_payload,
            auth=aiohttp.BasicAuth("api_user", "api_pass")
        ) as sn_resp:
            ticket_data = await sn_resp.json()
            ticket_number = ticket_data["result"]["number"]

    # 3. Send confirmation back to Teams
    reply = f"✅ Incident {ticket_number} created. I've assigned it priority {parsed_intent['priority']}."
    await turn_context.send_activity(reply)
AI AGENTS IN MICROSOFT TEAMS FOR ITSM

Realistic Time Savings and Operational Impact

This table shows the typical operational impact of deploying an AI agent within Microsoft Teams that connects to ServiceNow or Jira Service Management, enabling users to interact with the service desk via natural language chat.

WorkflowBefore AIAfter AINotes

Ticket Creation

Navigate portal or email

Natural language chat in Teams

Reduces friction, especially for mobile/remote users

Ticket Status Inquiry

Search portal or call desk

Instant query to agent in channel

Deflects low-value calls to support staff

Standard Request Fulfillment

Find catalog item, fill form

Describe need, agent routes request

Agent uses RAG on service catalog for guidance

Ticket Update/Note Addition

Log into ITSM portal

Reply to thread or @mention agent

Maintains context within collaboration flow

Approval Workflow

Email notification, portal login

Interactive card/button in Teams

Approver acts without context switching

Agent Triage & Assignment

Manual read, categorize, assign

AI pre-fills category, suggests group

Agent reviews & confirms in seconds

Knowledge Base Search

Portal search, browse results

Ask agent, get summarized answer

Agent retrieves via RAG from ITSM KB

Major Incident Communications

Manual drafting, distribution lists

Agent drafts update, posts to channel

Ensures consistent, rapid stakeholder comms

ARCHITECTING FOR ENTERPRISE CONTROL

Governance, Security, and Phased Rollout

A secure, governed approach to deploying AI agents in Microsoft Teams for ITSM collaboration.

Deploying an AI agent into Microsoft Teams requires careful consideration of identity, data flow, and audit trails. The core architecture typically involves a secure middleware layer (often an Azure Function or a dedicated API service) that sits between the Teams bot and the ITSM platform (ServiceNow or Jira Service Management). This layer authenticates via Microsoft Entra ID for the Teams user context and uses a service account with scoped permissions (e.g., itil or sn_incident.write) for the ITSM API. All prompts, generated ticket data, and user commands should be logged to a secure audit log, separate from the chat history, to maintain a tamper-evident record of AI-assisted actions.

A phased rollout is critical for user adoption and risk management. Start with a pilot group in a single Teams channel, limiting the agent to read-only operations like ticket status lookup and simple summarization. In Phase 2, enable ticket creation for a narrow set of pre-defined, low-risk request types (e.g., 'New monitor request'). Finally, in Phase 3, roll out advanced update and workflow commands (like adding comments or changing priority) with an optional human-in-the-loop approval step for sensitive actions, configurable via the ITSM platform's approval engine. This controlled approach allows you to tune the agent's prompt engineering and RAG retrieval from the knowledge base based on real usage before enterprise-wide deployment.

Governance is enforced at the data layer. The AI agent should only access ITSM data scoped to the user's entitlements, respecting platform-level RBAC. For instance, an agent assisting a finance team channel should not retrieve HR-related tickets. Furthermore, all natural language inputs should be processed through a content moderation filter before being sent to the LLM or written to the ITSM ticket, stripping any sensitive data (PII, credentials) as defined by your data loss prevention policies. Regular reviews of the audit logs and agent response quality are essential to maintain trust and operational integrity in this collaborative interface.

IMPLEMENTATION BLUEPRINT

Frequently Asked Questions

Practical questions for architects and IT leaders planning to embed AI agents within Microsoft Teams to interact with ServiceNow or Jira Service Management.

The integration uses a layered, zero-trust security model:

  1. Microsoft Entra ID App Registration: The AI agent service is registered as a multi-tenant or single-tenant application in Entra ID. It requests and manages Graph API permissions (e.g., ChannelMessage.Read.All, ChannelMessage.Send) and uses certificate-based authentication for server-to-server calls.
  2. ITSM Platform Authentication: For ServiceNow, the agent uses OAuth 2.0 client credentials flow with a dedicated integration user, scoped to a specific application scope (e.g., x_123456_ai_agent). For Jira SM, it uses API tokens or OAuth 2.0 for Forge apps, with permissions restricted to necessary issue operations.
  3. Runtime Context & RBAC: The agent resolves the Teams user's identity (via userPrincipalName from the Graph API) and maps it to a corresponding user record in the ITSM platform. All actions (e.g., creating a ticket, viewing sensitive fields) are executed under the permissions of that mapped user, enforcing existing ITSM role-based access controls.
  4. Secure Communication: All traffic between the agent service, Microsoft Graph, and the ITSM REST API is encrypted over TLS. Secrets and certificates are managed in Azure Key Vault or a similar secrets manager, never hard-coded.
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.