Menu
Grafana Cloud

Microsoft Teams integration for Grafana IRM

The Microsoft Teams integration for Grafana IRM enables you and your team to declare, collaborate on, and manage incidents without leaving the Teams platform. This integration creates incident-specific threads, tracks the timeline of events, and lets you interact with incidents using the Grafana Teams bot.

Before you begin

To use the Microsoft Teams integration, you need:

  • Microsoft Teams owner or admin permissions
  • Ability to approve org-wide app deployment in Teams
  • Editor or Admin permissions in Grafana IRM

Note

The Grafana Microsoft Teams app uses org-wide deployment and requires permission to access your Microsoft Teams to deploy the Teams bot.

Configure the Microsoft Teams integration

  1. Navigate to IRM > Integrations in the Grafana Cloud main menu
  2. Select the Apps tab
  3. Click the Microsoft Teams tile
  4. Click Install Integration
  5. When redirected to Microsoft Teams, enter your credentials if prompted
  6. Review the Grafana App and requested permissions, then click Accept
  7. Follow the prompts in Teams to allow Grafana IRM to access your Microsoft Teams
  8. Configure the integration settings:
    • Select a Team
    • Select a default channel for incident posts and thread creation
    • Choose which incident types to announce (drill incidents, non-drill incidents, or both)

Once redirected back to Grafana IRM, your Microsoft Teams and Grafana accounts will be automatically linked.

Customize incident thread settings

After installing the integration, new incidents are announced in your designated MS Teams channel, with the incident thread kept up-to-date throughout the incident’s lifecycle.

You can customize the following settings:

  • Team and channel selection: Specify where incident announcements should be posted
  • Incident types: Choose which types of incidents are announced (drill, non-drill, or both)
  • Important incident updates: Enable or disable “Post important items to the thread”

When important updates are enabled, the following activities are automatically shared in the incident thread:

Activity typeUpdates shared
IncidentCreated, Closed, Start, End, Title changed, Severity changed, Status changed, Summary
RoleAssigned (Commander), Assigned (Investigator)
LabelAdded, Removed
ActionRun
SiftSuggestion
DataQuery
UserNote
TaskCompleted

Microsoft Teams bot commands

You can use the following @Grafana IRM commands within Microsoft Teams to manage incidents directly:

CommandDescription
incident helpList all available commands
incident new something went wrongCreate a new incident
incident new <severity> "title"Create a new incident with specified severity
incident listList all active incidents
incident rolesSee who’s involved in the current incident
incident talkFind an online place to discuss the incident
incident statusGet a live inline status update
incident severitySet the incident severity
incident severity majorUpdate incident severity to major
incident tasksCreate, assign and manage tasks
incident tasks helpGet more information about tasks
incident task add 'deploy new release'Add a new task
incident task add 'deploy new release' @bobAdd a task and assign to @bob
incident tasks listView current tasks
incident notesAdd and view incident notes
incident notes helpGet more information about notes
incident note add "customer is aware"Add a new note
incident notes listView current notes
incident stacksList Grafana stacks
incident stack <stack-name>Set default stack for new incidents

Required permissions

The Grafana IRM app requires the following permissions in Microsoft Teams:

Workspace access permissions

PermissionPurpose
Read and write channel names, descriptions, and settingsRead channel settings where the bot is installed
Allow the Teams app to manage itself for all teamsAllow the Grafana IRM bot to self-install
Read all teams’ settingsAccess Team settings and information
Read all users’ full profilesFetch profile data like Teams handlers and avatars
Read contacts in all mailboxesFind users by email and match accounts between Grafana and Teams

Channel access permissions

PermissionPurpose
Receive messages mentioning the botAccess messages directed at the bot
Send channel notificationsSend notifications to the designated channel
Access Team InformationAccess team and channel names, roster details

Message and conversation permissions

PermissionPurpose
Receive messagesProcess messages mentioning the bot
Send messagesSend notifications within incident channels
Access user profile informationAccess basic profile details
Create Incident-specific ConversationsCreate new incident threads
View Direct MentionsView messages mentioning ‘@Grafana IRM’