VeeamHub/powershell

VSPC-UsageReport Breaks on VSPC v7

Closed this issue · 4 comments

This is the error I get when running it on V12
{"error":{"code":"UnsupportedApiVersion","message":"The HTTP resource that matches the request URI 'https://address.com:1280/api/v3/licensing/sites/usage/companies' is not supported.","innerError":null}}

Steps to reproduce the behavior:
Point it to a V12 Veeam Service Provider Console.

Can you please share which script in this repository you're using?

Sorry I thought I made this on the script.
it is
VSPC-UsageReport

Thanks for letting me know. I'll look into this.

As mentioned in the script requirements, this script was written and tested for Veeam Service Provider Console v6. I'll get it updated for the latest release, v7.

Added API versioning to the sample script so it will no longer fail when run against Veeam Service Provider Console v7.

As the problem identified in this issue is now resolved, I'm closing this issue.