Create a file share (Azure Files)

Azure Portal, Hands On10 minutesFree tierSteps checked 23 October 2026By Cloud Hands On

In this task you'll create an Azure Files share.

Azure Files gives you a network drive in the cloud. Windows, Linux and macOS can connect to it like an office file server, using the SMB protocol, so old apps that expect a mapped drive keep working.

Shares live inside a storage account, and each has a quota: the most it can hold.

Example. Larkfield Group moves its shared Finance drive to an Azure file share. Staff map it as the F: drive just as before, and the old file server is switched off.

Before you start

You need: Contributor on the storage account. Time: 10 minutes.

Where to look

  1. Storage accounts
  2. your account
  3. File shares
  4. + File share

Steps

  1. Open your storage account and select File shares under Data storage. Newer portals may call it Classic file shares.
  2. Select + File share and name it share1.If you're asked to choose a billing model, pick the standard pay-as-you-go option for a small test.
  3. Leave the access tier as offered (such as Transaction optimised) for a small test.
  4. On the Backup tab, untick backup for this practice share.It's ticked by default. Backup creates a Recovery Services vault and charges for the protected share. In real use you'd keep it.
  5. Select Review + create, then Create.
  6. Open share1 and select Upload to add a file, or + Add directory for a folder.
  7. Select Connect to see the script for Windows, Linux or macOS. Read it, but you don't have to run it.Many home and office networks block port 445, so mounting from home often fails. That's normal.

Commands

# Create a 5 GiB file share in the storage account
az storage share-rm create --resource-group rg-portal-practice \
  --storage-account <account> --name share1 --quota 5

# Delete it again
az storage share-rm delete --resource-group rg-portal-practice \
  --storage-account <account> --name share1 --yes

Watch out for

Cost
You pay for the data stored and, on standard shares, for each read and write. Share snapshots and backups add to the bill.
Security
The connection script uses the storage account key, which unlocks the whole account. For real use, join the storage account to your domain or Entra ID so people sign in with their own accounts.
Common mistakes
Leaving backup on for a test share. Expecting it to mount over the internet when port 445 is blocked. Setting a big quota on premium shares, where you pay for the quota, not the data.

Clean up

  1. Resource groups
  2. rg-portal-practice
  3. Delete resource group

You've finished the storage section: delete the resource group. It removes the storage account with every container, blob, rule and share inside it.

Words to know

SMB
The protocol Windows uses for network drives. It uses port 445.
Quota
The maximum size of a file share.
Azure File Sync
An extra service that keeps a copy of a share on your own Windows server, for fast local access.

Tick off each step and track your progress in the guide.

Open this task in Azure Portal, Hands On

Keep going