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 haven't already, you'll need to add that app registration to an AD security group. Then, you'll need to add that security group in the Power BI Admin Portal under the Admin API settings.
kranthi_sunkara
4 years agoRegular Visitor
It was added already.
When adding a service prinicipal to the workspace, does it require admin permissions?
- Anonymous4 years agoNot applicable
If you're referring to Admin API permissions thorugh the App regisration then no. Don't add any API permissions. Microsoft specifically calls this out in one of their articles.
- kranthi_sunkara4 years agoRegular Visitor
All good now. Everything working for me. Thanks for your help.
- Anonymous4 years agoNot applicable
Good to hear. Happy to help.