Skip to content

[BUG] azurebackup vault create ignores --storage-type for Recovery Services vaults #3981

Open

Description

Describe the bug

azurebackup vault create --vault-type rsv accepts --storage-type but does not apply it. RsvBackupOperations.CreateVaultAsync receives storageType and never uses it. For --vault-type dpp the value is applied, and azurebackup vault update --redundancy sets it for RSV vaults through the backup storage config.

Expected behavior

The Recovery Services vault is created with the requested storage redundancy.

Actual behavior

Only the vault GET and PUT are sent; the backup storage config (backupstorageconfig/vaultstorageconfig) is never updated, so the vault keeps the default geo-redundant storage. The redundancy can only be changed before a backup is configured in the vault.

Reproduction Steps

Call azurebackup vault create with --vault-type rsv --storage-type LocallyRedundant and record the ARM requests: there is no request to backupstorageconfig/vaultstorageconfig.

Environment

main at bc89c9e.

Activity

  1. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor

    Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @microsoft/azure-mcp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions