Forum Discussion
Anonymous
6 years agoNot applicable
PowerShell Login to Power BI - Write Error
Hi All, I'm attempting to login to Power BI through the PowerShell Power BI cmdlet.. I was able to install the cmdlet (Install-Module -Name MicrosoftPowerBIMgmt) however when trying to login I rec...
- 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
GilbertQ
6 years agoSuper User
Hi 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
Anonymous
6 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.