Skip to content

ListMicrosoftTeamsConfiguredTeams

Source: src/AWS/Chatbot/ListMicrosoftTeamsConfiguredTeams.ts

Runtime binding for chatbot:ListMicrosoftTeamsConfiguredTeams.

Lists the Microsoft Teams teams onboarded to AWS Chatbot in the account — useful for identity/team audit automation. Provide the implementation with Effect.provide(AWS.Chatbot.ListMicrosoftTeamsConfiguredTeamsHttp).

const listMicrosoftTeamsConfiguredTeams =
yield* AWS.Chatbot.ListMicrosoftTeamsConfiguredTeams();
const result = yield* listMicrosoftTeamsConfiguredTeams();
const teamIds = (result.ConfiguredTeams ?? []).map((t) => t.TeamId);