Forum Discussion
kranthi_sunkara
4 years agoRegular Visitor
Connecting PowerBI from Power Shell without prompting
I am trying to connect powerBI from powershell. I created a service account in azure AD and enabled service prinicipal in powerBI under admin portal. I am using the below commands. $password = "xx...
Anonymous
4 years agoNot applicable
If you're going to connect to the REST APIs using the service principal approach, when writing your scripts, you'll also need to supply the client secret or a certificate thumbprint. See the following article: Connect-PowerBIServiceAccount (MicrosoftPowerBIMgmt.Profile) | Microsoft Docs
kranthi_sunkara
4 years agoRegular Visitor
Thanks. Let me try with client secret or a certificate thumbprint