Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add fileshare to recovery service vault backup policy through az cli #13747

Open
ramesh569 opened this issue Feb 6, 2024 · 0 comments

Comments

@ramesh569
Copy link

ramesh569 commented Feb 6, 2024

Issue Details

i am trying to add fileshare to vault backup policy through azure cli. but its says the following error
ERROR: Storage account not found or not supported

az cli command:
az backup protection enable-for-azurefileshare --resource-group vaultrg --vault-name vault1 --policy-name FileShare-Backup --storage-account storageaccount name --azure-file-share fileshare1.

i am executing this command through azure devops pipeline(yml) in storage account resource group.

here storage account and Recovery service vault is in different resource group

Repro steps (if necessary, delete otherwise)

1.create RS vault in one resource group
2. create storage account and fileshare in another resource group
3.Run the pipeline with above command . it will throw the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant