AZ-900 Microsoft Azure Fundamentals Exam
Start here! Get your feet wet with the Microsoft cloud and begin your journey to earning your Microsoft Certified: Azure Fundamentals certification!
Gauge your current knowledge

Gauge your current knowledge

Start here! Get your feet wet with the Microsoft cloud and begin your journey to earning your Microsoft Certified: Azure Fundamentals certification!
Gauge your current knowledge

Gauge your current knowledge

In Azure, there are three main tools for moving files to and from storage accounts: AzCopy, Azure Storage Explorer, and Azure File Sync. Each tool is designed for different scenarios based on data volume, transfer speed, ease of use, and whether you need hybrid integration with on-premises servers.
AzCopy is a command-line utility built for high-performance transfers of blobs and files. It works best when you need high throughput for moving millions of files quickly, want to script and automate transfers in PowerShell or CLI pipelines, and need to preserve file metadata. AzCopy also works with Microsoft Entra ID for secure, token-based authorization without embedding secrets in commands.
Azure Storage Explorer is a graphical tool that provides a user-friendly interface for browsing and transferring Azure storage data. It works well for ad-hoc or interactive scenarios where you prefer clicking over scripting. Key features include drag-and-drop support for simple uploads and downloads, the ability to manage multiple accounts in a single view, and built-in previews for blobs and files before transfer. This tool works well with small to medium datasets and doesn't require advanced scripting knowledge.
Azure File Sync is a synchronization service that keeps your on-premises Windows Server and Azure file shares in sync. It works best in hybrid scenarios where you need cloud tiering to store infrequently used files in Azure while keeping hot data locally, local caching for low-latency access to frequently accessed files, and continuous sync so on-premises changes automatically replicate to the cloud. You install an agent on your server and register it with Azure, making this the go-to solution for ongoing hybrid file operations.
AzCopy is a command-line tool optimized for high-speed transfers. In terms of performance, it uses parallel threads and the REST API for maximum throughput. For cost, there are no additional service fees—you pay only for network bandwidth and storage operations. The operational overhead requires scripting knowledge and manual setup of parameters, but it offers automation and repeatable transfers.
Azure Storage Explorer provides a graphical interface for file operations. Its performance supports basic uploads and downloads with limited parallelism, making it suitable for small or ad-hoc tasks. The tool is free to use, with costs only for storage transactions and bandwidth. Operational overhead is very low—it's ideal for users who prefer a GUI and minimal scripting, but it's not optimal for large-scale migrations.
Azure File Sync enables continuous hybrid sync between on-premises servers and Azure file shares. The initial sync can take time for large data sets, but subsequent syncs transfer only changed blocks, which reduces bandwidth usage. Costs involve Azure storage charges, network egress, and potential VM or agent compute costs—though tiering can lower storage fees by offloading cold data. Operational overhead is moderate since it requires configuring sync groups, managing servers or agents, and monitoring sync health.
The right tool depends on your scenario: use AzCopy for one-time bulk transfers where speed and automation matter, use Azure Storage Explorer for interactive small-scale tasks where ease of use is priority, and use Azure File Sync for ongoing hybrid scenarios requiring continuous and tiered synchronization.
Azure File Sync centralizes on-premises file servers into Azure file shares while keeping the performance and compatibility of local storage. It uses local caching on your servers for fast file access and cloud tiering to move cold files to Azure when space is needed. With centralized file shares, you can simplify management and standardize backups across many offices. This approach ensures employees get near-local speeds even when data resides in the cloud.
The synchronization process works by performing an initial synchronization of all files to Azure, followed by incremental syncs that only transfer changed items. By mirroring the source and target, you minimize downtime because only deltas are sent after the first sync. This method is similar to using robocopy /MIR, where the first run takes longer but subsequent runs are much faster. As a result, you can continue normal operations while preparing a cutover to Azure.
Azure File Sync also brings built-in disaster recovery and hybrid backup capabilities. When combined with Azure Backup, you can protect on-premises servers without additional backup software, restore individual files or entire shares quickly, and scale seamlessly as data grows relying on Azure for storage and on-premises servers for high-performance caching. These features make Azure File Sync an ideal solution for hybrid storage, balancing cloud scalability with on-premises speed.
Azure Storage Explorer is a graphical user interface tool that helps users connect to and manage Azure storage services. It provides an intuitive way to browse your storage accounts, containers, and file shares without needing complex commands. You can sign in with your Azure account, a shared access signature, or a storage account key. This tool runs on Windows, macOS, and Linux, making it widely accessible for various development environments.
With Azure Storage Explorer, you can perform common file operations easily with drag-and-drop actions and context menus. These operations include uploading files and folders to blob containers or file shares, downloading data from Azure storage to local machines, and renaming, deleting, and copying items within your storage accounts. These features help streamline tasks and reduce manual steps compared to command-line tools.
Azure Storage Explorer also lets you view and edit file metadata, properties, and access control lists. You can right-click on a blob or file to see metadata details and make quick updates. The tool displays real-time transfer progress, helping you monitor operations effectively. This visibility is useful when moving large datasets or troubleshooting permissions.
You can connect to multiple storage accounts and subscriptions in one session, making it easier to organize resources for different projects. Bookmarks allow you to save frequently used storage endpoints for quick access. Additionally, you can filter and search for specific containers, file shares, or directories, which speeds up navigation in large environments. Compared to other file-moving options like AzCopy and Azure File Sync, Azure Storage Explorer is ideal for ad-hoc and small-scale transfers when you need a visual interface.
AzCopy is a command-line tool that transfers data between your local environment and your Azure storage accounts. It supports Azure Blob Storage and Azure File Shares, making it a versatile option for moving files and blobs. You can run AzCopy commands on Windows, Linux, and macOS, giving you cross-platform capabilities. Many users choose AzCopy because it excels at handling large-scale data migrations quickly and reliably.
AzCopy integrates with Microsoft Entra ID to simplify authorization and avoid manually appending SAS tokens to each command. You start by verifying role assignments like Storage Blob Data Reader or Storage Blob Data Contributor and then set environment variables for AzCopy to pick up. AzCopy supports multiple types of security principals including user identity, managed identity, and service principal. AzCopy retrieves an OAuth token to authorize the operation.
You can authorize AzCopy in different ways to suit your needs. To use a user identity, you set the appropriate environment variable and follow the on-screen code flow. With a managed identity, you can run automated scripts on Azure VMs without storing credentials on disk. AzCopy also leverages tokens from active Azure CLI or Azure PowerShell sessions, streamlining the workflow for administrators.
AzCopy shines when you need to move large amounts of data or integrate file transfers into scripts and automation pipelines. Unlike Azure Storage Explorer, which provides a graphical interface for individual file operations, AzCopy is optimized for batch and bulk transfers. For ongoing file synchronization between on-premises servers and Azure file shares, Azure File Sync may be more appropriate. But for one-time large migrations or scheduled scripts, AzCopy is often the most efficient choice.