microsoft/botbuilder-js

port: [#6813][#6798] Not able to create instance of BlobsTranscriptStore using TokenCredential instead of connectionString and containerName

Closed this issue · 0 comments

The changes in [#6813][#6798] Not able to create instance of BlobsTranscriptStore using TokenCredential instead of connectionString and containerName may need to be ported to maintain parity with microsoft/botbuilder-js.

Fixes # 6798

Description

This PR allows the use of Token Credentials to authenticate and create an instance of BlobsTranscriptStore.

Specific Changes

  • Added constructors in BlobsTranscriptStore with blobServiceUri and tokenCredentials as parameters.
  • Added constructor validations in unit tests.

Testing

The following images show the bot working and saving transcripts using BlobsTranscriptStore instantiated with token credentials.
image
image