Running this script:
$applicationid ="xxxxxxx"
$principalPassword = ConvertTo-SecureString "xxxxx" -AsPlainText -Force
$psCred = New-Object System.Management.Automation.PSCredential($applicationid, $principalPassword)
Connect-PowerBIServiceAccount -ServicePrincipal -Credential $psCred
Keep getting this error:
Connect-PowerBIServiceAccount : One or more errors occurred.
At line:23 char:1
- Connect-PowerBIServiceAccount -ServicePrincipal -Credential $psCred
-
+ CategoryInfo : WriteError: (Microsoft.Power...IServiceAccount:ConnectPowerBIServiceAccount) [Connect-PowerBIServic
eAccount], AggregateException
+ FullyQualifiedErrorId : One or more errors occurred.,Microsoft.PowerBI.Commands.Profile.ConnectPowerBIServiceAccount
Running this script:
$applicationid ="xxxxxxx"
$principalPassword = ConvertTo-SecureString "xxxxx" -AsPlainText -Force
$psCred = New-Object System.Management.Automation.PSCredential($applicationid, $principalPassword)
Connect-PowerBIServiceAccount -ServicePrincipal -Credential $psCred
Keep getting this error:
Connect-PowerBIServiceAccount : One or more errors occurred.
At line:23 char:1