Move Data with Azure Storage Explorer and AzCopy
30-second answer
Azure Storage Explorer is a free desktop app (Windows, macOS, Linux) for browsing and managing blobs, files, queues and tables; it connects with Microsoft Entra ID, an account name and key, a connection string or a SAS URL, and uses AzCopy for transfers. AzCopy is a free command-line tool for bulk and scripted transfers: azcopy copy (with --recursive), azcopy sync (only what changed, optionally --delete-destination true), make, list, remove and jobs resume. AzCopy authenticates with Microsoft Entra ID (azcopy login, which needs a Storage Blob Data role, not just Owner) or a SAS on the URL. The portal's Storage browser handles quick, small jobs.
Exam objective: 2.2.5 Manage data by using Azure Storage Explorer and AzCopy. (Skills measured as of April 17, 2026)
Simulations
Feel it before you read it. No account needed, nothing leaves this page.
The portal’s <strong>Storage browser</strong> is the quick way in: containers, file shares, queues and tables in one place.
👆 Click the glowing item in the portal to continue
Read the steps as text
- The portal’s Storage browser is the quick way in: containers, file shares, queues and tables in one place.
- Open a container and Upload. Note the authentication method: with Entra ID you need a Storage Blob Data role, not just Owner.
- Drop files, pick the blob type and access tier. Good for a handful of files.
- For bigger jobs, Open in Explorer launches Azure Storage Explorer, the free desktop app for Windows, macOS and Linux. It uses AzCopy under the hood.
- Storage Explorer can connect several ways. Someone with only a SAS URL can connect to just that container, nothing more.
- For thousands of files or scripts, use AzCopy in Cloud Shell (it’s already installed). Sign in with Entra ID or put a SAS on the URL.
- azcopy sync copies only what changed, and --delete-destination true removes what’s gone from the source. Between two accounts AzCopy copies server to server, so the data never passes through your machine.
🧪 Simulation for learning. Screens are simplified versions of the Azure portal; names, prices and IDs are examples. Nothing here touches real Azure.
🖱️ Drag to rotate · scroll or pinch to zoom
Moving data: AzCopy and object replication
AzCopy moves files in parallel from the command line, signed in with Microsoft Entra ID (and a Storage Blob Data role) or with a SAS. Storage Explorer does the same with a GUI. Object replication keeps copying new block blobs to another account by itself.
🤔 What happens if…
Read this tour as text
- The front door: the storage firewall. Every account has a public endpoint that accepts all networks by default. Set the default action to Deny and only what you list gets in: virtual network rules (subnets with the Microsoft.Storage service endpoint), IP rules (public addresses only) and trusted Azure services if you tick the exception.
- Three ways in, plus one for file shares. Callers prove who they are with an account key (full control), a SAS (limited rights for limited time) or a Microsoft Entra ID token checked against RBAC data roles. For SMB file shares, users bring a Kerberos ticket from AD DS, Microsoft Entra Domain Services or Microsoft Entra Kerberos.
- SAS tokens and stored access policies. A service SAS can point at a stored access policy on the container (up to 5 per container). The policy holds the permissions and expiry, so deleting or editing it revokes every SAS that names it. An ad hoc SAS can only be revoked by regenerating the key that signed it.
- Rotate access keys. Each account has two keys so you can rotate without downtime: move apps to key2, regenerate key1, and next time do the reverse. A key expiration policy flags old keys. Regenerating a key kills every SAS signed with it.
- Encryption at rest. Azure Storage always encrypts data with AES-256. By default Microsoft manages the key. With a customer-managed key in Key Vault (soft delete and purge protection on), the account’s managed identity wraps and unwraps its data key with your key, and you can revoke it.
- Redundancy and a region outage. LRS keeps 3 copies in one datacenter, ZRS spreads 3 across availability zones, GRS adds an async copy in the paired region and GZRS combines both. RA- versions let you read the secondary. A customer-managed failover promotes the secondary when the primary region is down.
- Moving data: AzCopy and object replication. AzCopy moves files in parallel from the command line, signed in with Microsoft Entra ID (and a Storage Blob Data role) or with a SAS. Storage Explorer does the same with a GUI. Object replication keeps copying new block blobs to another account by itself.
- Access tiers and lifecycle management. Blobs sit in Hot, Cool (30-day minimum), Cold (90 days) or Archive (180 days, offline). A lifecycle management rule moves or deletes blobs by age or last access, about once a day. Reading an archived blob means rehydrating it first.
- Undo buttons: soft delete, versioning and snapshots. Blob soft delete and container soft delete keep deleted items for 1 to 365 days. Versioning keeps every previous version of a blob. For Azure Files, share snapshots are read-only point-in-time copies and share soft delete keeps a deleted share.
Contoso HR wants staff to open the HR share with their normal sign-in, no shared keys on sticky notes. Then the team needs last year's documents copied up to Blob Storage. Hit each wall you'll meet in real life and get past it.
🎓 Education-only simulation. Your lab is saved in this browser, so you can leave and continue later.
😟 THE PROBLEM
20,000 files need to move to Blob Storage and the portal upload keeps timing out.
😊 THE SOLUTION
Use AzCopy for bulk and scripts, Storage Explorer for point-and-click.
- Portal uploads are slow✓ Parallel AzCopy jobs
- Re-copying everything✓ azcopy sync
- Admins want a GUI✓ Storage Explorer
Start with a question
How do you move a house full of boxes: one at a time in your car, or with a moving truck?
For three boxes, your car is fine. For a whole house, you hire a truck with a crew that loads many boxes at once and can pick up where they stopped if it rains.
In Azure Storage, the portal’s Storage browser is your car. Azure Storage Explorer is a comfortable van you drive with a mouse. AzCopy is the moving truck: a command-line tool built for big, repeatable, resumable moves.
Explain it like I’m 10
The technical explanation
Storage browser and Storage Explorer
The portal’s Storage browser (on every storage account) lets you browse containers, file shares, queues and tables, upload, download, change tiers and generate SAS tokens. Watch the authentication method: with Microsoft Entra user account you need a data role; with Access key you need permission to list keys.
Azure Storage Explorer is the desktop version, free for Windows, macOS and Linux. You can open it from the portal with Open in Explorer. It connects to:
- a subscription, by signing in with Microsoft Entra ID,
- one storage account or service, with a connection string, an account name and key, or a SAS URL (handy for partners: they see only what the SAS allows),
- the local emulator (Azurite).
It manages blobs (including tiers, snapshots, soft-deleted blobs and versions), file shares, queues, tables, access policies and Data Lake ACLs. Big uploads and downloads run through AzCopy inside it.
AzCopy
AzCopy v10 is a single executable, already installed in Azure Cloud Shell. It’s built for scale: parallel transfers, automatic retries, job plans you can resume, and server-to-server copies.
| Command | Use |
|---|---|
azcopy login | Sign in with Microsoft Entra ID (--identity for a managed identity) |
azcopy make | Create a container or file share |
azcopy copy (cp) | Copy files or blobs; add --recursive for folders |
azcopy sync | Copy only new or changed files; --delete-destination true removes extras |
azcopy list / remove | List or delete blobs |
azcopy jobs list / jobs resume | See and restart jobs |
Useful flags: --include-pattern "*.pdf", --block-blob-tier Cool, --dry-run, --put-md5.
Authorization is either:
- Microsoft Entra ID:
azcopy login. Blob Storage then checks data roles: Storage Blob Data Reader to read, Storage Blob Data Contributor or Owner to write. Subscription Owner isn’t enough. Role assignments can take a few minutes to apply. - SAS token appended to the URL, which needs no role.
AzCopy doesn’t take an account key directly for Blob Storage; use a SAS or Entra ID.
# Entra ID: sign in, then copy a folder (needs Storage Blob Data Contributor)
azcopy login
azcopy copy "./hr-docs/*" "https://stcontosoprod.blob.core.windows.net/hr-archive" --recursive
# SAS: no role needed, short expiry, HTTPS only
SAS=$(az storage container generate-sas --account-name stcontosoprod -n hr-archive \
--permissions acwl --expiry 2026-11-25T18:00Z --https-only -o tsv)
azcopy copy "./hr-docs/*" "https://stcontosoprod.blob.core.windows.net/hr-archive?$SAS" --recursive
# Nightly mirror: only changes, and remove what was deleted locally
azcopy sync "./hr-docs" "https://stcontosoprod.blob.core.windows.net/hr-archive?$SAS" --delete-destination true
# Account to account (server to server)
azcopy copy "https://stcontosoprod.blob.core.windows.net/photos?<SAS>" \
"https://streplicaweu.blob.core.windows.net/photos?<SAS>" --recursive
Architect level Performance and logs
AzCopy picks a concurrency level based on CPU count; set AZCOPY_CONCURRENCY_VALUE to tune it, and azcopy benchmark to test throughput. Every job writes a log and a plan file under ~/.azcopy, which is how azcopy jobs resume knows what’s already done. Copying between accounts keeps the data on the Azure network, so it’s fast and your bandwidth doesn’t matter.
Real-world business scenario
Tailwind Traders (fictional)
- The problem
- Twenty years of scanned delivery notes (about 2 million PDFs) sat on an ageing file server. Uploading through the portal kept timing out.
- What they used
- AzCopy on the file server, signed in with a managed identity that has Storage Blob Data Contributor, running azcopy copy --recursive once and then azcopy sync every night until cut-over. Admins use Storage Explorer to spot-check folders.
- Why that choice
- Parallel, resumable transfers finished the bulk copy over a weekend, and nightly sync moved only that day's new scans.
- The result
- The file server was switched off a month early, and the scripts now run as a scheduled task for other sites.
When to use it and when not to
✓ Use it when…
- Bulk uploads, downloads or account-to-account copies (AzCopy).
- Repeating jobs such as nightly sync from on-premises (azcopy sync).
- Admins who prefer a GUI for browsing and fixing data (Storage Explorer).
✕ Think twice when…
- Tens of terabytes over a slow connection (Azure Data Box).
- Continuous copying of new blobs between accounts with no scheduler (object replication).
- Keeping on-premises file servers in sync with a share as a cache (Azure File Sync).
↔ Alternatives to consider
- Azure Data Box for offline bulk transfer.
- Object replication for automatic blob copies between accounts.
- Azure File Sync for file servers with cloud tiering.
Test yourself with exercises
5 original practice questions in the AZ-104 style. Pick your answers, then check them. You will see why each option is right or wrong. Score 75% or more and this topic is marked complete.
Interview preparation
Say your answer out loud first, then open the model answer. Interviewers care more about your reasoning than the exact words.
Beginner When would you use AzCopy instead of the portal?
Model answer
For anything more than a handful of files, or anything I want to repeat. AzCopy runs many transfers in parallel, can resume a job that broke halfway, can sync only changes, and fits in a script or a scheduled task. The portal is fine for uploading three PDFs.
Intermediate You run azcopy login and then azcopy copy, and get a 403 AuthorizationPermissionMismatch, even though you're Owner of the subscription. Why?
Model answer
Owner is a management role. With azcopy login, AzCopy sends my Microsoft Entra token, and Blob Storage checks data roles. I need Storage Blob Data Contributor (or Owner) on the account or container, and it can take a few minutes to apply. Or I can use a SAS on the URL instead.
Experienced developer How do you copy a container between two storage accounts without downloading it?
Model answer
azcopy copy with both URLs, the source with a SAS that allows read and list, the destination with a SAS that allows write and create, or Entra ID on both. AzCopy uses server-to-server APIs, so the data flows between the accounts and my machine only coordinates the job.
Scenario A nightly job must keep a folder of PDFs on a file server mirrored to a blob container, including removing files that were deleted locally. What do you run?
Model answer
azcopy sync from the local folder to the container URL with --delete-destination true, authenticated with a managed identity (azcopy login --identity) that has Storage Blob Data Contributor, or a SAS. Sync compares last-modified times, so each night only the changes move.
Quick revision
Key points
- Storage Explorer connects via Entra ID, account key, connection string, SAS URL or the Azurite emulator.
- AzCopy auth = Microsoft Entra ID (azcopy login) or a SAS appended to the URL.
- Entra ID with AzCopy needs a Storage Blob Data role. Owner alone isn't enough.
- azcopy copy --recursive for folders; azcopy sync for changes only.
- Server-to-server copies don't pass data through your machine.
- AzCopy is preinstalled in Azure Cloud Shell.
Important terminology
- AzCopy
- A free command-line utility for copying and syncing data to, from and between Azure storage accounts.
- Azure Storage Explorer
- A free desktop app to browse and manage Azure Storage data, which uses AzCopy under the hood for transfers.
- Storage browser
- The data browser built into the storage account blade in the Azure portal.
- azcopy sync
- A command that compares source and destination and copies only new or changed files, optionally deleting extras at the destination.
- Server-to-server copy
- An AzCopy copy between two storage accounts where the data moves directly between them, not through the machine running AzCopy.
- Storage Blob Data Contributor
- An Azure RBAC data role that allows reading, writing and deleting blob data with Microsoft Entra ID.
Common mistakes
- Assuming subscription Owner can read blob data through AzCopy or Storage browser with Entra ID.
- Using azcopy copy every night and re-sending everything instead of azcopy sync.
- Forgetting --recursive when copying a folder.
Exam tips
- "Copy millions of files, scriptable, resumable" = AzCopy.
- "GUI for admins to manage blobs, queues, tables and files" = Storage Explorer.
- "Only copy what changed" = azcopy sync.
Five quick revision questions
-
1.Which two ways can AzCopy authenticate to Blob Storage?Show
Microsoft Entra ID (azcopy login) or a SAS token.
-
2.Which flag copies a folder and its subfolders?Show
--recursive
-
3.Which flag makes azcopy sync delete files missing from the source?Show
--delete-destination true
-
4.What role does an Entra identity need to upload blobs with AzCopy?Show
Storage Blob Data Contributor (or Owner).
-
5.Which tool does Storage Explorer use for transfers?Show
AzCopy.
Official references
Finished this lesson? Tick it off. Your progress is saved in this browser.
Next up: Azure File Shares, Snapshots and Soft Delete
Lesson done? Make it stick with a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges.