Share via

Microsoft Azure Files Shares not saving files (transfer failed)

Hannah O'Loughlin 20 Reputation points
2026-03-20T20:48:59.6666667+00:00

Azure is not allowing us to save files (specifically, Microsoft Azure Storage Explorer)

Error message - Transfer of 'xxx' to 'yyy' failed: 0 items transferred (used SAS, overwrite enabled, discovery completed)

Azure Files
Azure Files

An Azure service that offers file shares in the cloud.


Answer accepted by question author
  1. Praveen Bandaru 11,310 Reputation points Microsoft External Staff Moderator
    2026-03-25T16:02:41.6633333+00:00

    Hello Hannah O'Loughlin

    When using the storage explorer to download and upload files, you are encountering some issues during these operations.

    Downloading files works successfully, and you are able to access the file. 

    However, when you try to modify and save the opened file, you experience a problem getting the error.

    Note: If you make any changes to the file, please save it before uploading. Be sure to close the file first, then try uploading it. Uploading an open file is not possible.

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-20T20:49:13.9466667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error indicates that Storage Explorer attempted the upload (discovery completed) but the transfer was blocked before any items were written. Based on similar Azure Files issues, the most common causes are:

    1. Network/firewall restrictions on the storage account
      • If the storage account has firewalls or virtual network rules enabled, the client IP (or proxy IP, if behind a proxy) must be allowed.
      • Action:
        • In the Azure portal, open the storage account → Networking.
        • If “Selected networks” is configured, ensure the public IP actually used by Storage Explorer (often the proxy’s IP) is in the allowed list.
        • As a test, temporarily set “Allow access from all networks” and retry the upload. If it works, re‑enable restrictions and correctly add the required IPs or VNets.
    2. Authorization/permissions mismatch when using SAS or Entra ID
      • For SAS:
        • Ensure the SAS has write (w) and create (c) permissions for file shares and is not expired.
        • If the SAS was generated before firewall changes or key rotation, regenerate it and reconnect Storage Explorer.
      • For Entra ID/OAuth:
        • Azure Files via REST/Storage Explorer requires the correct data‑plane role. If using Entra ID, assign Storage File Data Privileged Contributor at the storage account or file share scope to the identity used in Storage Explorer, then retry.
    3. File locks, leases, or open handles blocking overwrite
      • If overwrite is enabled but the target file is locked or has an open handle/lease, the write can fail.
      • Action (from a PowerShell session with Az module ≥ 2.4):
        • Use Get-AzStorageFileHandle to list open handles on the affected path.
        • If all clients have closed files but handles remain, use Close-AzStorageFileHandle to force close them, then retry the upload.
    4. Backup/resource locks or share leases
      • Azure Backup or admins may have placed resource locks or share leases that prevent modification/deletion.
      • Action:
        • In the storage account, check Locks for ReadOnly or Delete locks that might affect the file share.
        • If Azure Backup is configured for this share, verify there is no active restore or lease blocking changes; adjust or break the lease if appropriate.
    5. Parallel operations or backup/restore conflicts
      • If Azure Backup is restoring to the same share, or another data‑movement job is running, writes may fail.
      • Action:
        • In the Recovery Services vault, confirm there is no ongoing restore to the same file share.
        • Wait for any backup/restore job to complete or target a different share.

    If, after checking the above, uploads still show “0 items transferred,” capture the detailed error from Storage Explorer’s Activity Log (including HTTP status and x-ms-error-code) and correlate it with:

    • Storage account Metrics/Logs for failed requests.
    • Any recent changes to networking, keys/SAS, or RBAC.

    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.