public static Task <bool> SignOutUserAsync(this ConnectorClient connectorClient, IActivity activity, string connectionName) { var userId = activity.From.Id; var client = new OAuthApiClient(new MicrosoftAppCredentials()); return(client.SignOutUserAsync(userId, connectionName)); }