Just stumbled on the PowerBIPS module this morning. I am trying to shape the script in a customized way which fits my situation within PowerBi. I have been sitting here for hours trying to figure out this error message:
New-Object : Cannot find an overload for "PlatformParameters" and the argument count: "1".
Whenever I try to execute the below command or just simply calling Get-PBIAuthToken, my error gets flagged.
$data | Out-PowerBI -authToken $authToken -dataSetName "CSVSales" -tableName "Sales" it