> 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/python-sdk/docs/models/v3extensionsmsteamscreateorupdatemsteamsconfigrequest.md).

# V3ExtensionsMSTeamsCreateOrUpdateMSTeamsConfigRequest

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

## Fields

| Field                         | Type                                                                                                                                                                                      | Required             | Description                                                                                                                                   |
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `custom_incident_alert_state` | [Optional\[models.V3ExtensionsMSTeamsIncidentActionAlertState\]](https://developers.incidents.cloud.solarwinds.com/python-sdk/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`                          | *Optional\[str]*                                                                                                                                                                          | :heavy\_minus\_sign: | The MongoDB ObjectID of the extension document. Should be included for updates.                                                               |
| `organization_id`             | *Optional\[str]*                                                                                                                                                                          | :heavy\_minus\_sign: | The MongoDB ObjectID of the organization this extension belongs to.                                                                           |
| `default_conversation_name`   | *str*                                                                                                                                                                                     | :heavy\_check\_mark: | The display name for the default conversation/channel.                                                                                        |
| `default_conversation_id`     | *str*                                                                                                                                                                                     | :heavy\_check\_mark: | The unique identifier for the default MS Teams conversation/channel.                                                                          |
| `is_active`                   | *bool*                                                                                                                                                                                    | :heavy\_check\_mark: | A master switch to enable or disable the entire integration.                                                                                  |
| `is_default_active`           | *bool*                                                                                                                                                                                    | :heavy\_check\_mark: | Determines if notifications should be sent to the default channel.                                                                            |
| `is_custom_channels_active`   | *bool*                                                                                                                                                                                    | :heavy\_check\_mark: | Determines if notifications should be sent to custom-configured channels.                                                                     |
| `triggers`                    | [models.V3ExtensionsMSTeamsTriggers](https://developers.incidents.cloud.solarwinds.com/python-sdk/docs/models/v3extensionsmsteamstriggers.md)                                             | :heavy\_check\_mark: | Configuration for which alerts are sent to the MS Teams channel.                                                                              |
| `tenant_id`                   | *str*                                                                                                                                                                                     | :heavy\_check\_mark: | The Azure AD Tenant ID of the organization that owns this extension.                                                                          |
| `from_id`                     | *str*                                                                                                                                                                                     | :heavy\_check\_mark: | The Azure AD Object ID of the user who created this extension.                                                                                |
| `connected_teams`             | List\[[models.V3ExtensionsMSTeamsConnectedTeams](https://developers.incidents.cloud.solarwinds.com/python-sdk/docs/models/v3extensionsmsteamsconnectedteams.md)]                          | :heavy\_check\_mark: | A list of all MS Teams (teams) connected to this organization.                                                                                |
