Table of Contents

Method TryCreatePrivateChatAsync

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

TryCreatePrivateChatAsync(string, CancellationToken)

Tries to create the private chat for the given user and the DataMiner Teams Bot.

Task TryCreatePrivateChatAsync(string email, CancellationToken cancellationToken = default)

Parameters

email string

The email addresses of the user (which is part of the tenant)

cancellationToken CancellationToken

Returns

Task

Remarks

The organizations Microsoft Teams tenant must be configured in the Admin App and the required permissions must be granted. Note that, if new features require more permissions than were granted before, you can easily refresh your configured tenant to update it's permissions in the Admin App.

Exceptions

TeamsChatIntegrationException

If anything went wrong.