Can't connect to PowerBI service account

%3CLINGO-SUB%20id%3D%22lingo-sub-1535607%22%20slang%3D%22en-US%22%3ECan't%20connect%20to%20PowerBI%20service%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1535607%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20installed%20%22MicrosoftPowerBIMgmt%22%20module%20and%20I%20am%20trying%20to%20run%20the%20%22Connect-PowerBIServiceAccount%22%20command%20but%20getting%20the%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConnect-PowerBIServiceAccount%20%3A%20One%20or%20more%20errors%20occurred.%3CBR%20%2F%3EAt%20line%3A1%20char%3A1%3CBR%20%2F%3E%2B%20Connect-PowerBIServiceAccount%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5B%5D%2C%20AggregateException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20System.AggregateException%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22krish89_0-1595335253832.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206818i2C8CD3AE524B05DF%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22krish89_0-1595335253832.png%22%20alt%3D%22krish89_0-1595335253832.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EKrishna%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1535607%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1536943%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20connect%20to%20PowerBI%20service%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1536943%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F734915%22%20target%3D%22_blank%22%3E%40krish89%3C%2FA%3E%26nbsp%3Bdid%20you%20find%20solution%2C%20I%20am%20having%20the%20same%20issue.%3C%2FP%3E%3CP%3EMy%20script%20was%20running%20fine%20earlier%2C%20suddenly%20started%20having%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1604052%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20connect%20to%20PowerBI%20service%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1604052%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F735485%22%20target%3D%22_blank%22%3E%40RohGoy%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3ESame%20Issue%20on%20my%20side.%20Don't%20know%20why%20this%20is%20happening...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1622952%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20connect%20to%20PowerBI%20service%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1622952%22%20slang%3D%22en-US%22%3E%3CP%3Esame%20issue%20here.%3C%2FP%3E%3CP%3EThe%20script%20has%20been%20working%20just%20fine%203%20days%20ago%20and%20now%20I%20started%20to%20receive%20this%20error.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F734915%22%20target%3D%22_blank%22%3E%40krish89%3C%2FA%3E%26nbsp%3B%26nbsp%3BAre%20you%20using%20an%20AAD%20account%20to%20login%20or%20a%20Service%20Principal%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

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

3 Replies
Highlighted

@krish89 did you find solution, I am having the same issue.

My script was running fine earlier, suddenly started having issue.

 

Thanks

Highlighted

@RohGoy 
Same Issue on my side. Don't know why this is happening...

Highlighted

same issue here.

The script has been working just fine 3 days ago and now I started to receive this error.

@krish89  Are you using an AAD account to login or a Service Principal?