Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ammitit2006
Frequent Visitor

Issue while using Power BI cli command line tool to create workspace

Hi, 

I am new to Power BI. I have a requirement to create document how to connect to the power BI file(pbix) to the workspace. 

I don't have .NET installed so i used NPM installer to do the same.

 

 

I followed the steps

1) On the azure portal, Created the PowerBI embedded, followed by creating workspace collection(my360workspace). 

2) Now, installed the NPM installer and then install the "power bi cli" using "npm i -g powerbi-cli"

Ref: http://blog.jongallant.com/2017/01/powerbi-embedded-javascript-api-range-slider-filter/

 

3) I run the commands into command prompt as in the screen shot. It's giving me error that a location consists of character, whitespace etc.

4) I looked into the help of power bi in the command prompt it's not given anything to create workspace but only the WorkSpace Collection.

 

 

 


C:\Users\amgupta>azure powerbi --help
help: Commands to manage your Azure Power BI Embedded Workspace Collections
help:
help: Create a new workspace collection
help: powerbi create [options] <resourceGroup> <name> <location> [tags]
help:
help: List workspace collections within subscription or within resource group
help: powerbi list [options] [resourceGroup]
help:
help: Commands to manage your Power BI Workspace Collection keys
help: powerbi keys list [options] <resourceGroup> <name>
help: powerbi keys renew [options] <resourceGroup> <name>
help:
help: Commands to manage your Power BI Workspaces
help: powerbi workspaces list [options] <resourceGroup> <name>
help:
help: Options:
help: -h, --help output usage information
help:
help: Current Mode: arm (Azure Resource Management)

 

 

Please help,

I don't have .NET installed so cannot try other .NET riched options.

1 REPLY 1
tringuyenminh92
Memorable Member
Memorable Member

Hi @ammitit2006,

 

Follow this topic in github, you will use your workspace collection name and its access key to create workspace :https://github.com/Microsoft/PowerBI-Cli

 

And one thing that if this is not issue topic, please post in forum of community not in issue forum.Heart

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.