> For the complete documentation index, see [llms.txt](https://developers.incidents.cloud.solarwinds.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3extensionsmsteamscreateorupdatemsteamsconfigrequest.md).

# V3ExtensionsMSTeamsCreateOrUpdateMSTeamsConfigRequest

The request body for creating or updating an MS Teams extension configuration.

## Example Usage

```typescript
import { V3ExtensionsMSTeamsCreateOrUpdateMSTeamsConfigRequest } from "@solarwinds/squadcast-sdk-typescript/models";

let value: V3ExtensionsMSTeamsCreateOrUpdateMSTeamsConfigRequest = {
  defaultConversationName: "<value>",
  defaultConversationId: "<id>",
  isActive: true,
  isDefaultActive: false,
  isCustomChannelsActive: true,
  triggers: {
    allActive: true,
    custom: [
      "<value>",
    ],
  },
  tenantId: "<id>",
  fromId: "<id>",
  connectedTeams: [],
};
```

## Fields

| Field                      | Type                                                                                                                                                                          | Required             | Description                                                                                                                                   |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `customIncidentAlertState` | [models.V3ExtensionsMSTeamsIncidentActionAlertState](https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3extensionsmsteamsincidentactionalertstate.md) | :heavy\_minus\_sign: | A user-friendly way to configure which incident action alerts are active. This is translated by the backend into the 'triggers.custom' array. |
| `id`                       | *string*                                                                                                                                                                      | :heavy\_minus\_sign: | The MongoDB ObjectID of the extension document. Should be included for updates.                                                               |
| `organizationId`           | *string*                                                                                                                                                                      | :heavy\_minus\_sign: | The MongoDB ObjectID of the organization this extension belongs to.                                                                           |
| `defaultConversationName`  | *string*                                                                                                                                                                      | :heavy\_check\_mark: | The display name for the default conversation/channel.                                                                                        |
| `defaultConversationId`    | *string*                                                                                                                                                                      | :heavy\_check\_mark: | The unique identifier for the default MS Teams conversation/channel.                                                                          |
| `isActive`                 | *boolean*                                                                                                                                                                     | :heavy\_check\_mark: | A master switch to enable or disable the entire integration.                                                                                  |
| `isDefaultActive`          | *boolean*                                                                                                                                                                     | :heavy\_check\_mark: | Determines if notifications should be sent to the default channel.                                                                            |
| `isCustomChannelsActive`   | *boolean*                                                                                                                                                                     | :heavy\_check\_mark: | Determines if notifications should be sent to custom-configured channels.                                                                     |
| `triggers`                 | [models.V3ExtensionsMSTeamsTriggers](https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3extensionsmsteamstriggers.md)                                 | :heavy\_check\_mark: | Configuration for which alerts are sent to the MS Teams channel.                                                                              |
| `tenantId`                 | *string*                                                                                                                                                                      | :heavy\_check\_mark: | The Azure AD Tenant ID of the organization that owns this extension.                                                                          |
| `fromId`                   | *string*                                                                                                                                                                      | :heavy\_check\_mark: | The Azure AD Object ID of the user who created this extension.                                                                                |
| `connectedTeams`           | [models.V3ExtensionsMSTeamsConnectedTeams](https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3extensionsmsteamsconnectedteams.md)\[]                  | :heavy\_check\_mark: | A list of all MS Teams (teams) connected to this organization.                                                                                |
