Method TryCreateTeamAsync
- Namespace
- Skyline.DataMiner.DcpChatIntegrationHelper.Teams
- Assembly
- Skyline.DataMiner.DcpChatIntegrationHelper.dll
TryCreateTeamAsync(string, string, CancellationToken)
Tries to create a team in Microsoft Teams.
Task<ITeam> TryCreateTeamAsync(string teamName, string teamOwnerEmail, CancellationToken cancellationToken = default)
Parameters
teamName
stringThe name of the team to be created.
teamOwnerEmail
stringThe email address of the owner of the team. Note this email address must be a part of the tenant.
cancellationToken
CancellationTokenOptional.
Returns
Remarks
The organizations Microsoft Teams tenant can be configured in the Admin App.
Exceptions
- TeamsChatIntegrationException
If anything went wrong.