Share via

Failed to create folder 'test'.

Maryam Huntsperger 10 Reputation points Microsoft Employee
2026-01-15T19:43:14.0933333+00:00

How do I resolve this issue in my AML? The storage account is not behind a vpn and I did give my user Storage blob contributor role.

Azure AI Anomaly Detector
Azure AI Anomaly Detector

An Azure service that identifies anomalies and defects early with time-series detection.


1 answer

Sort by: Most helpful
  1. Anshika Varshney 13,575 Reputation points Microsoft External Staff Moderator
    2026-01-15T21:02:58.9033333+00:00

    Hi Maryam Huntsperger,

    Thanks for sharing the details! The error “Failed to create folder ‘test’” usually points to a permissions or network configuration issue when working with Azure Storage or Azure Machine Learning workspaces.

    Steps to troubleshoot:

    1. Verify Role Assignments
      • Ensure your user account has Storage Blob Data Contributor or Owner role on the storage account.
      • If you’re using a managed identity (for AML compute or Foundry), confirm that the identity also has the correct RBAC roles.
    2. Check Network Access
      • If the storage account is behind a Virtual Network or has firewall restrictions, make sure your client IP or VNet is allowed.
      • As a quick isolation step, temporarily enable Public network access to confirm if the issue is network-related.
    3. Hierarchical Namespace (HNS)
      • Folder creation requires HNS enabled on the storage account. Verify this setting in the Azure portal under Data Lake Storage Gen2.

    Retry After Role Propagation

    • Role assignments can take a few minutes to propagate. Wait and retry after confirming permissions.
    1. Additional Checks
      • If you’re working in Azure Machine Learning, confirm that the workspace storage account is accessible and not blocked by VNet rules.
      • For Foundry scenarios, ensure dependent resources (Storage, AI Search) allow access from the Foundry project.

    Relevant Documentation:

    Please let me know if the issue persists after these checks. If you have any remaining questions or need additional details, I’ll be glad to provide further clarification or guidance. If the above steps resolve your issue, kindly confirm.

    Thankyou!

    Was this answer helpful?

    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.