-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New-Object : Cannot find an overload for "PlatformParameters" and the argument count: "1". #60
Comments
Same here. PS C:\temp> Get-PBIAuthToken -clientId "C0E8435C-614D-49BF-A758-3EF858F8901B"
Cannot get the access token, AcquireTokenAsync returned null
|
I'm encountering this error as well. What is the resolution or workaround? Do I need to replace the version of Microsoft.IdentityModel.Clients.ActiveDirectory.dll used? 2020-07-21T15:48:19Z [Error] ERROR: New-Object : Cannot find an overload for "PlatformParameters" and the argument count: "1".
Script stack trace: System.Management.Automation.MethodException: Cannot find an overload for "PlatformParameters" and the argument count: "1". 2020-07-21T15:48:19Z [Error] EXCEPTION: Cannot get the access token, AcquireTokenAsync returned null
Script stack trace: System.Management.Automation.RuntimeException: Cannot get the access token, AcquireTokenAsync returned null 2020-07-21T15:48:20Z [Error] |
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
The text was updated successfully, but these errors were encountered: