Skip to content
← Developer Hub

Developer Hub

Microsoft Teams Integration

Build an Azure Bot, wire it to a raia Agent via n8n, and sideload a custom Teams app for personal, team, and group-chat scopes.

01

Overview

The raia Microsoft Teams integration lets employees communicate with their organization’s raia AI agents from Microsoft Teams — in team channels, personal chats, or group chats. A successful deployment has two required layers: the raia Microsoft Teams app must be installed or published in Teams, and a raia administrator must add and configure the Microsoft Teams Skill on one or more raia agents. Installing the Teams app alone does not assign an agent to a channel or authorize personal conversations.

Deployment principle

Teams controls whether the app is available; raia controls which agent responds and where that agent is authorized to operate.

Step 1 — Download the app package

This is the .zip you upload into Microsoft Teams

Pick the package that matches your raia region. Do not unzip the file — Teams needs the .zip exactly as downloaded.

02

Supported experiences

App package version 1.0.2 defines a conversational bot for personal chats, team channels, and group chats, with file support enabled. Calling and video are not enabled.

ExperiencePackage supportHow users begin
Personal chatYesOpen the raia app and send a message. An @mention is normally unnecessary.
Team channelYesAdd the app to the team if required, then mention @raia in an authorized channel.
Group chatYesAdd raia to the chat, then address or mention @raia.
File interactionYesAttach a file in a supported conversation; processing depends on the agent.
Voice callingNoNot enabled in this package.
VideoNoNot enabled in this package.

The package advertises four commands in personal and group chats. These commands are not declared for team-channel scope.

CommandPurpose
/start-new-conversationStart a new conversation with an agent.
/helpDisplay guidance for using raia in Teams.
/statusShow which agent is active in the current chat.
/change-agentSwitch to another available agent and begin a new conversation.
03

Roles and responsibilities

RolePrimary responsibilities
Microsoft Teams administratorAllow or publish the custom app, control who can install or use it, and manage organization-wide updates or removal.
Team ownerAllow the app in a specific team when team-level settings require approval.
raia administratorCreate or select an agent, add the Microsoft Teams Skill, connect the Microsoft account, authorize channels or personal users, and test the agent.
End userInstall or open the app when permitted, mention @raia in channels, and follow organizational data-handling rules.
Support teamVerify app deployment, tenant policy, agent assignment, conversation scope, and service availability when troubleshooting.
04

Prerequisites

  • Approved raia Teams app package (.zip) — do not unzip it before upload.
  • Microsoft Teams desktop or web, signed into the intended Microsoft 365 tenant.
  • Custom app permission (required when an individual user sideloads the app).
  • Active raia account — sign in to raia.
  • A configured raia agent that should serve Teams users.
  • Microsoft connection authorized on the agent’s Teams Skill.
  • An access design: which teams, channels, group chats, or personal users may use each agent.
05

Deployment workflow

  1. 01

    Choose the deployment method — user sideload or Teams admin publish.

  2. 02

    Deploy the Teams app: upload package version 1.0.2 to the intended users.

  3. 03

    Prepare the raia agent — create a new agent or open an existing one in the raia dashboard.

  4. 04

    Add the Microsoft Teams Skill to the agent and connect the appropriate Microsoft account or tenant.

  5. 05

    Authorize access — select the teams and channels the agent serves and, when permitted, the personal users who may contact it.

  6. 06

    Save or publish the agent configuration so the latest is active.

  7. 07

    Run acceptance tests in one configured channel and one personal or group chat.

  8. 08

    Communicate availability to users: where the agent is available, what it does, and how to get support.

06

Install the app from a .zip file

Use this procedure when your organization permits individual custom app uploads. The current Teams flow is Apps → Manage your apps → Upload an app → Upload a custom app.

Step 1 — Download the app package

This is the .zip you upload into Microsoft Teams

Pick the package that matches your raia region. Do not unzip the file — Teams needs the .zip exactly as downloaded.

  1. 01

    Obtain the approved raia app package, e.g. raia-teams-app-v1.0.2-clean.zip.

  2. 02

    Open Microsoft Teams (desktop or web) and sign in with your organization account.

  3. 03

    Select Apps from the left navigation.

  4. 04

    Select Manage your apps near the bottom of the Apps page.

  5. 05

    Select Upload an app, then Upload a custom app.

  6. 06

    Choose the .zip file — do not unzip the package first.

  7. 07

    Review the app name, publisher, and requested access, then select Add or Install.

  8. 08

    Select Open for personal use, or choose the appropriate team, chat, or channel when Teams offers a scope selector.

  9. 09

    Optionally pin raia to the Teams app bar for frequent personal use.

07

Publish the app for the organization

Organization-wide publication is appropriate when sideloading is restricted or when administrators want centralized governance. An admin-uploaded app can take a few hours to become available to users.

  1. 01

    Sign in to the Microsoft Teams admin center (admin.teams.microsoft.com).

  2. 02

    Open Teams apps → Manage apps.

  3. 03

    Select Upload new app, or Actions → Upload new app.

  4. 04

    Upload the approved raia .zip package.

  5. 05

    Open the app details and verify publisher, app ID, version, scopes, and availability.

  6. 06

    Allow raia for the intended users or groups using your tenant’s app-management controls.

  7. 07

    Optionally use an app setup policy to install or pin raia for selected users.

  8. 08

    Wait for policy and catalog propagation, then test with a representative user account.

08

Configure the Microsoft Teams Skill in raia

  1. 01

    Sign in to the raia dashboard (raia2.com/auth/signin).

  2. 02

    Create a new agent or open the agent that should communicate through Teams.

  3. 03

    Open the agent’s skills or integrations area and add Microsoft Teams.

  4. 04

    When prompted, connect the Microsoft account associated with the intended tenant.

  5. 05

    Configure channel access — select the teams and channels this agent should serve.

  6. 06

    If one-to-one use is allowed, enable personal chat and authorize the users who may message the agent.

  7. 07

    If group-chat options are available, enable them only for the intended audience.

  8. 08

    Review the selected agent, tenant, conversation scopes, and user/channel assignments.

  9. 09

    Save, publish, or activate the updated agent configuration.

  10. 10

    Test from Teams using the acceptance tests below.

Tip

Use separate agent assignments when different departments or workflows require different knowledge or permissions. Record the intended owner and purpose of every Teams-to-agent mapping so support teams can diagnose unexpected responses quickly.
09

Use raia in Microsoft Teams

Team channel

Open an authorized channel, start a new post, type @raia and select the raia app from the mention suggestions. After the mention, enter a clear request and send. Continue in the same thread to preserve conversational context.

Personal chat

Open Apps, search for raia, and select Open. Send a normal message to begin — an @mention is generally unnecessary in a one-to-one conversation. Use /status to inspect the active agent or /change-agent to switch.

Group chat

Add raia to the group chat, then mention @raia when addressing the bot. The /help, /status, /change-agent, and /start-new-conversation commands are declared for group-chat scope as well.

Working with files

Attach a file with the normal Teams attachment control and explain what you want the agent to do with it. File types, size limits, and processing behavior depend on the agent and organizational policy. Do not upload confidential or regulated information unless your organization has approved that use.

10

Acceptance testing

TestExpected result
App identityTeams displays raia, published by Raia LLC, with the correct icon.
Personal chatAn authorized user can open raia and receive a response from the intended agent.
Channel mention@raia resolves in the configured channel and the intended agent responds in the thread.
Unauthorized channelThe agent does not provide unintended access outside its approved mapping.
/statusPersonal or group chat identifies the active agent.
/change-agentAn authorized user can choose another available agent and begin a new conversation.
/start-new-conversationThe user can begin a fresh conversation.
File interactionAn approved test file can be attached and handled per agent configuration.
PermissionsA user outside the approved population cannot obtain unintended access.
11

Update and remove the app

For updates, use a package with the same app ID and a higher semantic version. End users see Update in Apps → Manage your apps when an update is available; if Teams does not detect the replacement, remove the app from its installed scopes and upload the new .zip. For organization-published apps, open raia in Teams admin center → Teams apps → Manage apps and upload the newer package from the app details page.

To remove, an end user opens Apps → Manage your apps, expands raia, and removes it from each applicable scope. Removing and reinstalling a personal bot does not necessarily erase the prior bot conversation. An administrator can remove raia from the organization catalog from the app details page in the Teams admin center — notify users and raia administrators first, and record affected agent mappings.

12

Troubleshooting

SymptomLikely causeResolution
“Upload an app” is missingApp setup policy, org-wide setting, cloud environment, or team setting blocks upload.Ask a Teams admin to allow custom app upload or publish raia through the Teams admin center.
Invalid package or manifestArchive was unzipped and repackaged, contains nested folders, or has invalid manifest.Use the approved clean .zip. Ensure manifest.json and both icons are at the archive root.
raia installs but does not respondTeams Skill not enabled, Microsoft connection incomplete, user/channel not authorized, or agent inactive.Verify the agent, Skill, connection, assignment, and published state in raia.
@raia does not appear in a channelApp not added to the team or not allowed for the user/team.Add raia to the team and confirm the team-level custom app setting.
Personal chat unavailablePersonal access disabled or user not authorized.Ask the raia admin to enable personal chat for the intended agent and user.
Wrong agent respondsChannel mapping is incorrect or a different agent is active in personal/group chat.Review channel assignment. Use /status then /change-agent in personal or group chat.
Slash commands missing in a channelCommands are declared for personal and group chats only.Use normal @raia messages in channels. Open a personal or group chat for the declared commands.
Older version still appearsApp wasn’t updated in every context, or Teams is caching the old listing.Use Update when offered; otherwise remove, reinstall the latest .zip, and restart Teams.
13

Security, privacy, and governance

Only grant raia access to the teams, channels, chats, users, and agents required for the approved business purpose. Apply least-privilege access, test with non-sensitive information, and review agent mappings when teams or responsibilities change. The app’s responses are governed by the organization’s raia configuration and permissions. Users should follow their organization’s data-classification, acceptable-use, retention, and AI policies when entering messages or sharing files.

Report inappropriate content

To report objectionable or inappropriate AI-generated content, contact support@raiaai.com. Include the tenant, conversation scope, agent name, approximate time, and a sanitized description — do not email confidential message contents unless your organization permits it.
14

Technical reference

PropertyValue
App short nameraia
DeveloperRaia LLC
Package version1.0.2
Manifest version1.29
Bot scopespersonal, team, groupChat
File supportEnabled
Calling / VideoNot enabled
Privacy policyraiaai.com/raia-privacy-policy
Terms of serviceraiaai.com/raia-terms-of-services