Integrations
Microsoft Teams Integration
Deploy your Engrami agents as Microsoft Teams bots for enterprise collaboration.
Overview
The Microsoft Teams integration enables your AI agents to participate in Teams channels, respond to messages, and integrate with the Microsoft 365 ecosystem.
- Bot interactions in channels and group chats
- Personal conversations with team members
- Adaptive Card rich messaging
- Meeting transcription and summarization
- Integration with SharePoint and OneDrive
Setup
1. Register Azure Bot
Create a bot registration in Azure:
- Go to Azure Portal
- Create a new "Azure Bot" resource
- Configure messaging endpoint
- Enable the Microsoft Teams channel
2. Configure Bot Framework
# Messaging endpoint
https://api.engrami.com/api/v1/integrations/teams/messages
# Required permissions (Microsoft Graph)
ChannelMessage.Read.All
ChannelMessage.Send
Chat.ReadWrite
Team.ReadBasic.All
User.Read.All3. Create Teams App Manifest
{
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"id": "{{BOT_ID}}",
"version": "1.0.0",
"packageName": "com.engrami.agent",
"name": {
"short": "Engrami Agent",
"full": "Engrami AI Agent"
},
"description": {
"short": "AI-powered assistant",
"full": "Enterprise AI agent with long-term memory"
},
"bots": [
{
"botId": "{{BOT_ID}}",
"scopes": ["personal", "team", "groupchat"],
"supportsFiles": true,
"supportsCalling": false
}
],
"permissions": ["identity", "messageTeamMembers"]
}4. Connect to Engrami
curl -X POST https://api.engrami.com/api/v1/integrations \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"type": "teams",
"config": {
"app_id": "your-azure-app-id",
"app_password": "your-app-password",
"tenant_id": "your-tenant-id"
},
"agent_id": "agent_abc123"
}'Features
Channel Conversations
Your agent responds to @mentions in Teams channels:
# In Teams channel
@Engrami Agent what are our top priorities this sprint?
# Agent responds
Based on your Azure DevOps board, the top priorities are:
1. Complete user authentication module
2. Fix performance issues in dashboard
3. Deploy staging environmentAdaptive Cards
Send rich interactive messages with Adaptive Cards:
{
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "TextBlock",
"text": "New PR Requires Review",
"weight": "Bolder",
"size": "Medium"
},
{
"type": "FactSet",
"facts": [
{ "title": "Author", "value": "John Doe" },
{ "title": "Branch", "value": "feature/auth" },
{ "title": "Files Changed", "value": "12" }
]
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "View PR",
"url": "https://github.com/..."
},
{
"type": "Action.Submit",
"title": "Approve",
"data": { "action": "approve_pr" }
}
]
}Meeting Integration
Automatically summarize meeting transcriptions:
// Workflow configuration
{
"trigger": {
"type": "teams_meeting_ended",
"config": {
"require_transcription": true
}
},
"actions": [
{
"type": "agent",
"config": {
"agent_id": "meeting_summarizer",
"prompt": "Summarize key points and action items"
}
},
{
"type": "teams_message",
"config": {
"send_to": "meeting_participants"
}
}
]
}Security & Compliance
- Azure AD Authentication - Leverages your existing Azure AD for auth
- Data Residency - Data stays within your Microsoft 365 tenant boundaries
- Compliance - Supports Microsoft 365 compliance policies
- Conditional Access - Respects your organization's CA policies
- Audit Logs - All interactions logged in Microsoft Compliance Center