Maintain control of your Microsoft 365 data
Post Reply
toellbe
Novice
Posts: 8
Liked: never
Joined: Apr 05, 2019 4:38 pm
Contact:

Get usage data - Specified cast is not valid.

Post by toellbe »

In one of four repositories, we get the following error everytime when querying usage data:

Code: Select all

PS $repository = Get-VBORepository -Name "abc-rep"
PS Get-VBOUsageData -Repository $repository
Get-VBOUsageData : Specified cast is not valid.
At line:1 char:1
+ Get-VBOUsageData -Repository $repository
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-VBOUsageData], FaultException
    + FullyQualifiedErrorId : System.ServiceModel.FaultException,Veeam.Archiver.PowerShell.Cmdlets.DataManagement.GetV
   BOUsageData
 
This is annoying because we cannot automatically pass on costs.

Has anyone seen this before? The support apparently not.
nielsengelen
Product Manager
Posts: 5635
Liked: 1181 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Get usage data - Specified cast is not valid.

Post by nielsengelen »

Could you maybe share the support case ID so we can dig deeper on this?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
toellbe
Novice
Posts: 8
Liked: never
Joined: Apr 05, 2019 4:38 pm
Contact:

Re: Get usage data - Specified cast is not valid.

Post by toellbe »

03938767
nielsengelen
Product Manager
Posts: 5635
Liked: 1181 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Get usage data - Specified cast is not valid.

Post by nielsengelen »

Thanks, I see the case is ongoing for now so let's wait for their feedback.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
toellbe
Novice
Posts: 8
Liked: never
Joined: Apr 05, 2019 4:38 pm
Contact:

Re: Get usage data - Specified cast is not valid.

Post by toellbe »

4.0.0.1565 seems to fix the issue.
jarcher
Service Provider
Posts: 12
Liked: 1 time
Joined: Jul 28, 2016 7:55 pm
Full Name: Josh Archer
Contact:

Re: Get usage data - Specified cast is not valid.

Post by jarcher »

I'm encountering this issue on version 4.0.0.2516 with one organization. Did anyone get an explanation / resolution on this issue?

Thanks!
Polina
Veeam Software
Posts: 2972
Liked: 705 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Get usage data - Specified cast is not valid.

Post by Polina »

Hi Josh,

You can either upgrade to the latest version 4c (4.0.1.531) where this issue is resolved, or contact support to get a fix.

Thanks!
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 9 guests