Open 59e5aaf4 opened 3 years ago
Sorry for the delay in response.
The API versions for a resource is current (sorta) dynamically discovered. It starts with a basic "2018-02-14" and is expected to error out in most cases, and pick up a valid version in that error you're seeing. I'm not sure why it's failing for that type of resource but that entire function will go away sometime in the next week or so and be replaced with an accurate list of resource providers and their versions.
Hi,
There seem to be a hardcoded version issue in sscollector.pyz. I tried to patch the specific .shiv packaged file in my ~/.shiv/ with a brand new version but encountered import errors related to that version.
sscollector cli
- error, only fetches an equivalent ofaz resource list
sscollector cli --azure
, same as no parameter, raises the error below and only fecthes an equivalent ofaz resource list
sscollector cli --aad
- works, no error, now we're speaking, it works, 400MB and counting in the output folderazure.core.exceptions.HttpResponseError: (NoRegisteredProviderFound) No registered resource provider found for location 'canadacentral' and API version '2018-02-14' for type 'workbooks'. The supported api-versions are '2018-06-01-preview, 2018-06-17-preview, 2020-02-12, 2020-10-20'. The supported locations are ', westeurope, southcentralus, eastus, northeurope, southeastasia, westus2, japaneast, australiaeast, koreacentral, francecentral, centralus, eastus2, eastasia, westus, canadacentral, centralindia, uksouth, ukwest, southafricanorth, northcentralus, brazilsouth, switzerlandnorth, norwayeast, australiasoutheast'.
Running sscollector.pyz
Version: