Dev & Engineering ✓ Microsoft · Official

Azure File Share for Python

Guides Python developers through secure Azure SMB share, directory, and file management.

50/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azure-file-sharepython-sdksmbentra-id
+2file-operationscloud-storage

What does this skill do, and when should you use it?

This skill targets developers using the Azure Storage File Share SDK for Python to manage SMB file shares in cloud-native and lift-and-shift scenarios. It covers share lifecycle operations, directory management, file transfers and properties, range access, copying, and snapshots. The guidance favors DefaultAzureCredential with Microsoft Entra ID and requires deterministic client cleanup through context managers. It is a focused coding aid for Azure File Share integrations rather than a general Azure Storage guide.

Shows how to install azure-storage-file-share and configure AZURE_STORAGE_ACCOUNT_URL plus the optional AZURE_TOKEN_CREDENTIALS setting; use ShareServiceClient, ShareClient, ShareDirectoryClient, and ShareFileClient; create, list, retrieve, and delete shares and directories; upload, download, inspect, delete, and copy files; perform ranged uploads and downloads; create and access share snapshots; and write equivalent synchronous and asynchronous client code with appropriate credential and transport lifecycle management.

Good fit
  • A Python developer needs to provision, enumerate, or remove Azure SMB file shares.
  • An application needs to create nested directories and enumerate directories and files within a share.
  • A migration or business application must upload strings, bytes, or local files and download content to memory or disk.
  • A large-file workflow needs chunked streaming or partial range reads and writes.
  • A maintenance workflow should create a share snapshot before making major changes.
  • A team wants portable local-development and Azure authentication through DefaultAzureCredential and Microsoft Entra ID.

How do you install this skill?

Before you use it
  • Deleting shares, directories, and files can cause irreversible or high-impact cloud-side effects; the examples do not require confirmation or provide a general recovery workflow.
  • The sync example omits the os import, and the async example leaves account_url undefined, so copied snippets are not guaranteed to run directly.
  • Before production use, verify the current SDK API, RBAC permissions, retry behavior, paging, timeouts, overwrite semantics, and regional network reachability.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • Python
  • azure-storage-file-share
  • azure-identity
  • Azure Storage File Share account

Install the collection with npx skills add microsoft/skills and select the skill in the wizard. The collection installs skills into the selected agent directory, such as .github/skills/ for GitHub Copilot. Install the Python SDK with pip install azure-storage-file-share. For Entra ID authentication, set AZURE_STORAGE_ACCOUNT_URL=https://<account>.file.core.windows.net; when using DefaultAzureCredential in production, set AZURE_TOKEN_CREDENTIALS=prod. The supplied material does not document the exact Azure permission assignments.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-storage-file-share-py" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Use azure-storage-file-share and ShareServiceClient to create an Azure file share and upload a file in Python.

A suitable trigger prompt is: "Use azure-storage-file-share and ShareServiceClient to create an Azure file share and upload a file in Python." Use ShareServiceClient, ShareClient, ShareDirectoryClient, or ShareFileClient for the relevant operation. Wrap synchronous clients in with and asynchronous clients, including azure.identity.aio.DefaultAzureCredential, in async with. Prefer DefaultAzureCredential in production and keep synchronous and asynchronous client types consistent within a call path.

What are this skill's strengths and limitations?

Pros
  • Covers core share, directory, file, range, and snapshot workflows.
  • Includes both synchronous and asynchronous Python examples.
  • Provides explicit guidance for DefaultAzureCredential, Microsoft Entra ID, RBAC-oriented production authentication, and context-managed cleanup.
  • Addresses streaming, quotas, snapshots, and partial file operations.
Limitations
  • Requires an Azure File Share account URL and a working authentication setup.
  • Does not specify the exact Microsoft Entra RBAC roles or permissions required.
  • The supplied material provides no independent test evidence for this specific skill.
  • Its scope is Azure Storage File Share; sibling storage skills and their capabilities should not be assumed to be included.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure File Share for Python this page ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
Azure Blob Storage for Python ✓ Microsoft · Official 55 · Use with care ★ 2.7k 3mo ago MIT
Azure Key Vault SDK for Python ✓ Microsoft · Official 54 · Use with care ★ 2.7k 3mo ago MIT
Azure AI Content Safety for Python ✓ Microsoft · Official 53 · Use with care ★ 2.7k 3mo ago MIT
Azure App Configuration for Python ✓ Microsoft · Official 53 · Use with care ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
50/ 100 5-point scale 2.5 / 5
1Trust15 / 25 · 3.0/5

The evidence prioritizes DefaultAzureCredential, Microsoft Entra ID, and RBAC while discouraging connection strings and API keys. However, cloud-side create, delete, upload, and copy operations lack user-confirmation guidance, explicit least-privilege requirements, and a concrete rollback procedure; sensitive-data handling is also limited, so points are deducted.

2Reliability7 / 20 · 1.8/5

The material covers sync/async clients, lifecycle management, range operations, and some production recommendations. However, examples omit an explicit os import, leave account_url undefined in the async example, and provide little concrete retry, paging, concurrency, exception-feedback, or executable-test evidence. Static calibration limits this to 10 or below.

3Adaptability9 / 15 · 3.0/5

Trigger terms, the Python SDK target, SMB file-share scope, and primary scenarios are clear, with both sync and async forms documented. Non-fit boundaries, input constraints, prerequisite permissions, regional reachability, and Chinese-language usage are not specified, so points are deducted.

4Convention9 / 15 · 3.0/5

The skill has a stable name and description, MIT licensing, a version field, installation notes, layered reference files, and repository-level maintenance context. It lacks a changelog, clearly assigned maintenance/update path, pinned dependency guidance, FAQ coverage, and systematic troubleshooting, so it is not full marks.

5Effectiveness6 / 15 · 2.0/5

It can directly guide common share, directory, file, range, and snapshot SDK tasks, and most snippets are useful starting points. Some code is not immediately runnable and production initialization, permissions, failure recovery, and validation are incomplete; substantial review remains necessary, so static calibration limits this to 7 or below.

6Verifiability4 / 10 · 2.0/5

The skill provides concrete code, reference files, and named API methods, while repository context shows CI, evaluation workflows, and a test harness. There is no skill-specific committed test suite or third-party execution evidence, so key API correctness cannot be independently reproduced from the supplied static material; static calibration limits this to 5 or below.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11][12]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does this skill include Azure Storage pricing guidance?
No. It recommends setting quotas to avoid unexpected storage costs, but provides no pricing or cost estimates.
Do I have to use connection strings or account keys?
No. The skill explicitly prefers DefaultAzureCredential and Microsoft Entra ID, while advising against connection strings and account or API keys when possible.
What is required for asynchronous credential handling?
Use DefaultAzureCredential from azure.identity.aio and manage both the credential and asynchronous client with async with.
Is this a general-purpose local filesystem management skill?
No. It guides calls to the Azure Storage File Share service. Local files appear only as upload sources or download destinations in the examples.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for Python

Guides Python applications in detecting harmful text and images and enforcing custom blocklists.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for Python

Centralize Python application settings, feature flags, and dynamic configuration in Azure.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Container Registry for Python

Manage Azure container images, artifacts, and repositories from Python.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

★ 2.7k FS 60 Recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure File Share TypeScript Skill

Guides coding agents through Azure SMB file-share operations in TypeScript.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Rust

Guides Rust developers through official Azure SDK patterns for managing blobs and containers.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Document Translation for Python

Batch-translate Azure Blob Storage documents in Python while preserving their original formats.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Communication Common for Java

Guides Java developers through shared ACS authentication, token refresh, and communication identifier handling.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Batch Java Job Orchestration

Run and manage large-scale parallel and HPC workloads on Azure from Java.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure API Center Python Manager

Manage Azure API inventories, metadata, and governance with Python.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Rust

Configure Microsoft Entra ID authentication for Azure SDK clients written in Rust.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

★ 2.7k FS 54 Use with care 3mo ago

Related skills