Azure Local does not provide a mechanism to “hide” a storage path from VM deployments while still keeping it available for other resources such as images.
Storage paths are cluster-level resources that are always available for placement of VM OS/data disks, images, and other VM-related resources. Placement behavior is controlled only by:
- Whether a storage path is specified explicitly when creating a VM/image/disk (
--storage-path-idor Choose manually in the portal), or - The automatic round‑robin/first‑path selection when no storage path is specified.
To ensure a storage path is used only for images, the supported approach is operational rather than configuration-based:
- Always select one of the “UserStorage_X” paths for VM OS and data disks (portal: Choose manually → pick a UserStorage path; CLI: pass the desired
--storage-path-id). - Use the dedicated “images” storage path only when creating or managing VM images.
- Avoid using Choose automatically for workloads if that could place VMs on the image path.
There is no documented setting to mark a storage path as “image‑only” or to exclude it from the storage path list for VM creation.
References: