Method TryCreateTeam
- Namespace
- Skyline.DataMiner.DcpChatIntegrationHelper.Teams
- Assembly
- Skyline.DataMiner.DcpChatIntegrationHelper.dll
TryCreateTeam(string, string)
Tries to create a team in Microsoft Teams.
ITeam TryCreateTeam(string teamName, string teamOwnerEmail)
Parameters
teamNamestringThe name of the team to be created.
teamOwnerEmailstringThe email address of the owner of the team. Note this email address must be a part of the tenant.
Returns
- ITeam
The created team. Never null.
Remarks
The organizations Microsoft Teams tenant can be configured in the Admin App.
Exceptions
- TeamsChatIntegrationException
If anything went wrong.