🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@microsoft/agents-hosting-storage-blob

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/agents-hosting-storage-blob

Microsoft 365 Agents SDK State Blob Storage support.

latest
Source
npmnpm
Version
1.5.1
Version published
Weekly downloads
703
100.86%
Maintainers
2
Weekly downloads
 
Created
Source

@microsoft/agents-hosting-storage-blob

Overview

This package allows to configure Azure Blob Storage as the backend for Agents conversation State

Usage with connectionStrings

const blobStorage = new BlobStorage(process.env.BLOB_STORAGE_CONNECTION_STRING!, process.env.BLOB_CONTAINER_ID!)
const conversationState = new ConversationState(blobStorage)
const userState = new UserState(blobStorage)

Usage with EntraID authentication

note: you must assign RBAC permissions to your storage account

const echo = new AgentApplication<TurnState>({
  storage: new BlobsStorage('', undefined, undefined,
    'https://agentsstate.blob.core.windows.net/nodejs-conversations',
    new MsalTokenCredential(loadAuthConfigFromEnv()))
})

FAQs

Package last updated on 29 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts