microsoft / PowerBI-Tools-For-Capacities

Repo for tools and utilities related to Power BI Capacities (Premium and Embedded)
MIT License
149 stars 100 forks source link

Login-user is not defined in Setup_Load_Test.ps1 #36

Open Jeb1995 opened 1 year ago

Jeb1995 commented 1 year ago

Getting below error after providing the number of reports to configure.

Login-PowerBI : The term 'Login-PowerBI' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Users\Jeby.Jacob\Downloads\PowerBI-Tools-For-Capacities-master\PowerBI-Tools-For-Capacities-master\RealisticLoadT estTool\Setup_Load_Test.ps1:75 char:13

miloradtrninic-qbitech commented 5 months ago

Try Install-Module -Name MicrosoftPowerBIMgmt

and Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass -Force