Azure-cli: az backup - Invalid API version for GetBackupProtectedItems

Created on 5 Nov 2019  路  5Comments  路  Source: Azure/azure-cli

This is autogenerated. Please review and update as needed.

Describe the bug

When running az backup item list the CLI produces an error:

Invalid API version for GetBackupProtectedItems.
Please user api version 2019-05-13 or higher.

Command Name
az backup item list

Errors:

Invalid API version for GetBackupProtectedItems.
Please user api version 2019-05-13 or higher.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Run Azure Backup command to list items_
  • az backup item list -g resource-group -v vaultName

Expected Behavior

A list of backup items.

Environment Summary

Linux-4.4.0-18362-Microsoft-x86_64-with-debian-buster-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.76

Additional Context


Recovery Services Backup Service Attention

Most helpful comment

Any updates on this? I understand that this is not a break/fix issue but it would be nice for the functionality to be restored.

All 5 comments

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @srinathvasireddy

Any updates on this? I understand that this is not a break/fix issue but it would be nice for the functionality to be restored.

Still facing the same problem at my end.
Invalid API version for GetBackupProtectedItems. Please user api version 2019-05-13 or higher.

Seems to work again! Using :

azure-cli                         2.0.77

command-modules-nspkg              2.0.3
core                              2.0.77
nspkg                              3.0.4
telemetry                          1.0.4

Python location '/usr/local/Cellar/azure-cli/2.0.77/libexec/bin/python'
Extensions directory '/Users/christian/.azure/cliextensions'

Python (Darwin) 3.7.5 (default, Nov  1 2019, 02:16:23) 
[Clang 11.0.0 (clang-1100.0.33.8)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

We have updated CLI, PS versions and released compatible SDKs by end of Nov. Thanks for verifying. Closing this issue.

Was this page helpful?
0 / 5 - 0 ratings