Forum Discussion
PowerShell Login to Power BI - Write Error
- 6 years agoHi there
I would suggest you install ALL the Power BI Modules. And can you confirm the version you have installed is 1.0.830?
They are:
MicrosoftPowerBIMgmt.Admin
MicrosoftPowerBIMgmt.Capacities
MicrosoftPowerBIMgmt.Data
MicrosoftPowerBIMgmt.Profile
MicrosoftPowerBIMgmt.Reports
MicrosoftPowerBIMgmt.Workspaces
I would suggest you install ALL the Power BI Modules. And can you confirm the version you have installed is 1.0.830?
They are:
MicrosoftPowerBIMgmt.Admin
MicrosoftPowerBIMgmt.Capacities
MicrosoftPowerBIMgmt.Data
MicrosoftPowerBIMgmt.Profile
MicrosoftPowerBIMgmt.Reports
MicrosoftPowerBIMgmt.Workspaces
- Anonymous6 years agoNot applicable
That seemed to work! I was able to retrieve the embed token.
I did run into a snag when then trying that embed token in the Microsoft Power BI Embedded Playground for whatever the reason when trying to run using one of my own reports it wouldn't render at all in the embed view in the lower part of the page.
The steps being:-Switch to AAD token
-Paste embed token from PowerShell
-Paste Embed URL (from report)
-Past Report ID
-Hit Run
From there no results, not even anything showing up on the log on the right of that screen.
Does the report need to be registered in Azure as an app first? Which I also tried and didn't have anymore luck.- GilbertQ6 years agoSuper UserHi there
Yes you would have to create an App with the permissions to Power BI in Azure Active Directory.
- deepakbhatta073 years agoRegular Visitor
Hi Team,
Can you advise if "Connect - Power BI account" cmdlet while used with service principal will still ask for MFA prompt ? We are trying to setup a mechanism where we want to keep MFA enabled for org security, but figure a way to automate fetching Power BI logs through this account. Please let me know how can this be setup.