# Azure Blob Storage — card for AI agents

Store unstructured data and files in Microsoft Azure object storage with hot, cool, cold and archive tiers.

Maker: Microsoft · category: File storage and media CDN

## Price (official page)
- Free tier: none listed
- Usage price: LRS, East US, first 50 TB: Hot $0.0208/GB-month, Cool $0.0152, Cold $0.0036, Archive $0.00099; Hot writes $0.05 and reads $0.004 per 10,000
- Pricing page: https://azure.microsoft.com/en-us/pricing/details/storage/blobs/ (checked 2026-10-09)
- Note: Prices vary by region and redundancy; figures are from Microsoft's retail prices API (prices.azure.com) because the pricing page renders prices client-side.

## Connect
- Official MCP server: @azure/mcp
- MCP server card (how to connect it): https://agentgid.com/mcp/servers/com-microsoft-azure/agent.md
- npm: `npm install @azure/storage-blob`
- PyPI: `pip install azure-storage-blob`
- Repository: https://github.com/Azure/azure-sdk-for-js

## For AI agents on Microsoft's own site (AgentGid check 2026-11-13: 4 of 6)
- llms.txt: none found
- OpenAPI description: none found at the usual places
- Official MCP server: yes · official SDK: yes · status page: yes
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## Price history in AgentGid's catalog (since 2026-10-10)
- Changes recorded: 0 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)

## Other APIs in this category
- Cloudinary: https://agentgid.com/apis/cloudinary/agent.md
- Backblaze B2 Cloud Storage: https://agentgid.com/apis/backblaze-b2/agent.md
- UploadThing: https://agentgid.com/apis/uploadthing/agent.md
- Akamai Object Storage: https://agentgid.com/apis/akamai-object-storage/agent.md
- ImageKit: https://agentgid.com/apis/imagekit/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/azure-blob-storage/


## Azure Blob Storage: store and serve files on Microsoft Azure

Azure Blob Storage is Microsoft's online storage for files of any kind, such as photos, videos, documents and backups. Your app saves a file once and gets a web address for it, then reads it back or lets people download it. You pay each month for the space used and for each read and write, with cheaper tiers for files you rarely open.

### Where to use it
- Photos and documents users upload: Keep profile pictures, attachments and PDFs your users upload, and show them on your pages straight from storage.
- Backups and long-term archives: Keep database dumps and old records cheaply, moving them to the cool, cold or archive tier as they age.
- Video and audio for your site: Store course videos, podcasts or music files and stream them to visitors.
- A simple website without a server: Put the HTML, CSS, scripts and images of a landing page into storage and let Azure serve it as a website.
- List what is stored: Show an admin page with every file in a folder-like container, for example all invoices of one customer.
- Files an AI assistant reads later: Keep the documents a support bot should know about in one container, so a search service can index them. (idea, not from the official pages)

### How to start
- Install the Azure Storage package and Azure Identity for sign-in without keys.

```
npm install @azure/storage-blob
npm install @azure/identity
```

- Give your Microsoft Entra account the Storage Blob Data Contributor role on the storage account, then sign in locally with az login.

```
az login
```

- Connect with DefaultAzureCredential and the account name from AZURE_STORAGE_ACCOUNT_NAME, then create a container and upload.

```
const blobServiceClient = new BlobServiceClient(
  `https://${accountName}.blob.core.windows.net`,
  new DefaultAzureCredential()
);
```


### License
A paid Microsoft Azure service under the Azure terms, fine for commercial apps. The official client libraries are open source under the MIT license.

### Good to know
- You need an Azure account and a subscription; new accounts get a $200 credit for 30 days.
- Anyone with the account key can read and change all your files. Keep it on the server, or better, sign in with Microsoft Entra instead of keys.
- Cheaper tiers have minimum stay times (cool 30, cold 90, archive 180 days); deleting or moving earlier costs a penalty.
- Archived files are offline; getting them back takes hours.
- Public links without sign-in are off by default; turning them on is a security risk.

Checked 2026-11-10 against: https://azure.microsoft.com/en-us/products/storage/blobs, https://azure.microsoft.com/en-us/pricing/details/storage/blobs/, https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction, https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-overview, https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-nodejs, https://learn.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview, https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website, https://learn.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-prevent, https://learn.microsoft.com/en-us/azure/storage/blobs/scalability-targets, https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview, https://learn.microsoft.com/en-us/azure/storage/common/scalability-targets-standard-account, https://learn.microsoft.com/en-us/azure/storage/common/storage-redundancy, https://learn.microsoft.com/en-us/rest/api/storageservices/put-blob, https://learn.microsoft.com/en-us/rest/api/storageservices/blob-service-error-codes, https://learn.microsoft.com/en-us/rest/api/storageservices/common-rest-api-error-codes, https://learn.microsoft.com/en-us/azure/developer/azure-mcp-server/overview, https://learn.microsoft.com/en-us/azure/developer/azure-mcp-server/get-started, https://registry.npmjs.org/@azure/storage-blob/latest, https://registry.npmjs.org/@azure/identity/latest, https://registry.npmjs.org/@azure/mcp/latest, https://pypi.org/pypi/azure-storage-blob/json, https://prices.azure.com/api/retail/prices?%24filter=serviceName%20eq%20%27Storage%27%20and%20armRegionName%20eq%20%27eastus%27%20and%20productName%20eq%20%27Blob%20Storage%27%20and%20skuName%20eq%20%27Hot%20LRS%27%20and%20meterName%20eq%20%27Hot%20LRS%20Data%20Stored%27%20and%20tierMinimumUnits%20eq%200, https://prices.azure.com/api/retail/prices?%24filter=serviceName%20eq%20%27Storage%27%20and%20armRegionName%20eq%20%27eastus%27%20and%20productName%20eq%20%27Blob%20Storage%27%20and%20skuName%20eq%20%27Cool%20LRS%27%20and%20meterName%20eq%20%27Cool%20LRS%20Data%20Stored%27%20and%20tierMinimumUnits%20eq%200, https://prices.azure.com/api/retail/prices?%24filter=serviceName%20eq%20%27Storage%27%20and%20armRegionName%20eq%20%27eastus%27%20and%20productName%20eq%20%27Blob%20Storage%27%20and%20skuName%20eq%20%27Cold%20LRS%27%20and%20meterName%20eq%20%27Cold%20LRS%20Data%20Stored%27%20and%20tierMinimumUnits%20eq%200, https://prices.azure.com/api/retail/prices?%24filter=serviceName%20eq%20%27Storage%27%20and%20armRegionName%20eq%20%27eastus%27%20and%20productName%20eq%20%27Blob%20Storage%27%20and%20skuName%20eq%20%27Archive%20LRS%27%20and%20meterName%20eq%20%27Archive%20LRS%20Data%20Stored%27%20and%20tierMinimumUnits%20eq%200, https://prices.azure.com/api/retail/prices?%24filter=serviceName%20eq%20%27Storage%27%20and%20armRegionName%20eq%20%27eastus%27%20and%20productName%20eq%20%27Blob%20Storage%27%20and%20skuName%20eq%20%27Hot%20LRS%27%20and%20meterName%20eq%20%27Hot%20LRS%20Write%20Operations%27%20and%20tierMinimumUnits%20eq%200, https://prices.azure.com/api/retail/prices?%24filter=serviceName%20eq%20%27Storage%27%20and%20armRegionName%20eq%20%27eastus%27%20and%20productName%20eq%20%27Blob%20Storage%27%20and%20skuName%20eq%20%27Hot%20LRS%27%20and%20meterName%20eq%20%27Hot%20Read%20Operations%27%20and%20tierMinimumUnits%20eq%200

### Mistakes to avoid
- Don't: Putting AZURE_STORAGE_CONNECTION_STRING (it contains the account key) into front-end code or a public repo. → Do: Use DefaultAzureCredential on the server; give browsers only short-lived user delegation SAS links. (The key opens every file in the account.)
- Don't: Signing SAS links with the account key (service or account SAS) by default. → Do: Use a user delegation SAS, signed with Microsoft Entra credentials. (Microsoft recommends it because it does not depend on the account key.)
- Don't: Container names with capital letters or underscores, like UserUploads or user_uploads. → Do: Use 3-63 lowercase letters, numbers and single dashes, like user-uploads. (Container names become part of the address and must be valid DNS names.)
- Don't: Treating an authorization error right after granting the role as a broken setup. → Do: Wait a minute or two (rarely up to eight) after assigning Storage Blob Data Contributor, then retry. (Role assignments take time to spread through Azure.)
- Don't: Moving fresh files straight to the archive tier and reading them the next day. → Do: Keep files that are read often in hot; use archive only for data kept 180+ days and rarely read. (Archive is offline (hours to read back) and early moves or deletes are charged.)

### Questions
- Is there a free tier? No permanent free tier is stated on the pricing page; new Azure accounts get a $200 credit for 30 days.
- Can visitors open a file by its link? Only if you allow it. Anonymous access is off by default; use short-lived signed links (SAS) or a static website instead.
- Can I host a website in it? Yes, static sites only (HTML, CSS, JavaScript, images); files go into a container named $web.
- Where are my files kept? With the cheapest redundancy (LRS) in one datacenter in the region you choose; other options copy across zones or regions.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
