Table of Contents

Method TryGetTeamsAsync

Namespace
Skyline.DataMiner.DcpChatIntegrationHelper.Teams
Assembly
Skyline.DataMiner.DcpChatIntegrationHelper.dll

TryGetTeamsAsync(CancellationToken)

Tries to fetch all teams from Microsoft Teams.

Task<IEnumerable<ITeam>> TryGetTeamsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional.

Returns

Task<IEnumerable<ITeam>>

All the teams. Might be empty but never null.

Remarks

The organizations Microsoft Teams tenant can be configured in the Admin App.

Exceptions

TeamsChatIntegrationException

If anything went wrong.