# V3ExtensionsMSTeamsMSTeamsConfigResponse

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

## Example Usage

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

let value: V3ExtensionsMSTeamsMSTeamsConfigResponse = {
  defaultConversationName: "<value>",
  defaultConversationId: "<id>",
  isActive: false,
  isDefaultActive: false,
  isCustomChannelsActive: false,
  triggers: {
    allActive: true,
    custom: [
      "<value>",
    ],
  },
  tenantId: "<id>",
  fromId: "<id>",
  connectedTeams: [
    {
      teamId: "<id>",
      teamName: "<value>",
      channelConfigurations: [
        {
          squadcastTeamId: "<id>",
          squadcastTeamName: "<value>",
          isAllServices: false,
          services: [],
          msteamsChannelId: "<id>",
          msteamsChannelName: "<value>",
        },
      ],
    },
  ],
};
```

## Fields

| Field                      | Type                                                                                                                                                                       | Required             | Description                                                                                                                                   |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `customIncidentAlertState` | [models.V3ExtensionsMSTeamsIncidentActionAlertState](https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3extensionsmsteamsincidentactionalertstate) | :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)                                 | :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)\[]                  | :heavy\_check\_mark: | A list of all MS Teams (teams) connected to this organization.                                                                                |
