# About the Microsoft Teams connector

> Microsoft Teams is a collaborative workspace within Microsoft 365 that acts as a central hub for workplace conversations,
collaborative teamwork, video conferencing, and document sharing, all designed to enhance employee productivity.

Microsoft Teams is a collaborative workspace within Microsoft 365 that acts as a central hub for workplace conversations,
collaborative teamwork, video conferencing, and document sharing, all designed to enhance employee productivity.

## Authentication

Before automating processes, you need to establish a connection with your Microsoft Teams instance. Step-by-step instructions
are available in the [Microsoft Teams Authentication](https://docs.uipath.com/integration-service/automation-cloud/latest/user-guide/uipath-microsoft-teams-authentication#microsoft-teams-authentication) page.

## Events

The Microsoft Teams connector supports events via polling. For more information, see the [Microsoft Teams events](https://docs.uipath.com/integration-service/automation-cloud/latest/user-guide/uipath-microsoft-teams-events) page.

## Activity package

You can use the connection to enable the [Microsoft Teams activities](https://docs.uipath.com/activities/docs/uipath-microsoft-teams-activities) in UiPath® Studio and build
automations that interact with your Microsoft Teams data. These
activities allow you to execute create, read, update, and delete
operations on your Microsoft Teams objects.

## Quickstarts

If you want to learn how to start using your Microsoft Teams integration and the activities
included in the Microsoft Teams activity package, see the [Microsoft Teams how-to
guides](https://docs.uipath.com/activities/other/latest/integration-service/uipath-microsoft-teams-how-to-guides).

## Provider documentation

The UiPath connector for Microsoft Teams is compatible with the [REST Graph 1.0 API](https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0).

## Frequently asked questions

### Why do I get a “Forbidden instance for user” error when running a Teams automation?

The runtime user does not have permission to view or use the Integration Service connection. This often happens when the connection is created in a personal workspace or Solution folder and not shared properly.

### Why does Include Bot = Yes fail with a “Missing Bot ID and Secret” error?

Bot support requires a registered Microsoft Teams bot with a valid Bot App ID and Client Secret.

### Does Integration Service create a new Azure App Registration for every Teams connection?

No. UiPath uses a shared public OAuth app or the customer’s Bring Your Own App (BYOA). A new app is not created per connection.

### Why does Teams require admin consent even when user consent is enabled?

Teams requests high-impact Microsoft Graph scopes (for example Files and Meeting APIs), which always require admin approval.

### Which scopes are mandatory for a Teams connection?

Refer to the mandatory scopes section in [Microsoft Teams authentication](https://docs.uipath.com/integration-service/automation-cloud/latest/user-guide/uipath-microsoft-teams-authentication).

### Can customers remove optional scopes for security reasons?

Yes. Optional scopes can be removed, but activities that depend on them will fail. Mandatory scopes cannot be removed.

### Can I mention an entire Team or Channel in a message?

No. Send Channel Message does not support team-level or channel-level mentions.

### Can I use the HTTP Request activity to mention a Team?

No. This is a Microsoft Graph API limitation and cannot be bypassed using HTTP.

### Does the Send Channel Message activity support mentioning only one user at a time?

Yes. The Send Channel Message activity currently supports mentioning only one individual user at a time. Multiple user mentions and team or group mentions are not supported.

### Can I format Teams messages or add links?

Yes. HTML formatting and links are supported in message bodies.

### Can we send a message with an image in Teams?

Yes. The Send Channel Message activity allows you to attach both inline images (with preview) and Sharepoint images as attachments.

### Whose quota causes “Evaluation capacity for the month exceeded”?

The customer’s Microsoft tenant quota, not UiPath’s. Each tenant is billed and throttled independently.
