cancel
Showing results for 
Search instead for 
Did you mean: 

Get-PowerBIActivityEvent not working

 

Get-PowerBIActivityEvent not working

Error : 

Get-PowerBIActivityEvent : Attempted to access an element as a type incompatible with the array.
At line:1 char:1
+ Get-PowerBIActivityEvent -StartDateTime 2020-01-16T00:00:00 -EndDateT ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...BIActivityEvent:GetPowerBIActivityEvent) [Get-PowerBIActivityEvent], ArrayTypeMismatchException
+ FullyQualifiedErrorId : Attempted to access an element as a type incompatible with the array.,Microsoft.PowerBI.Commands.Admin.GetPowerBIActivityEvent

Status: New
Comments
Community Support

@blessyjeya 

 

You may check if it is affected by the PowerShell version.