Jul 21 2020 05:42 AM - edited Jul 21 2020 06:26 AM
Hello,
I have installed "MicrosoftPowerBIMgmt" module and I am trying to run the "Connect-PowerBIServiceAccount" command but getting the error.
Connect-PowerBIServiceAccount : One or more errors occurred.
At line:1 char:1
+ Connect-PowerBIServiceAccount
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], AggregateException
+ FullyQualifiedErrorId : System.AggregateException
Any help would be appreciated.
Regards,
Krishna
Jul 21 2020 01:11 PM
@krish89 did you find solution, I am having the same issue.
My script was running fine earlier, suddenly started having issue.
Thanks
Aug 21 2020 08:27 AM
@RohGoy
Same Issue on my side. Don't know why this is happening...
Sep 29 2020 08:13 PM
Any Luck? I'm receiving this error as well on a script that used to work @krish89
Nov 04 2020 09:15 PM
@krish89 any luck with the solution? facing the same issue
Nov 27 2020 11:08 PM
@krish89 @RohGoy @Jasper_Baert1 @julmoser @stuPro finally found a solution to this issue.
So every time you open the powershell and before running your powerBI powershell script/commands, run the following command:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12