pbicli
Commands
pbicli admin | Operations for working with administrative tasks |
pbicli app | Operations for working with apps |
pbicli capacity | Operations for working with capacities |
pbicli cloud | Operations for working with clouds |
pbicli configure | Operations for working with CLI configuration |
pbicli dashboard | Operations for working with dashboards |
pbicli dataflow | Operations for working with dataflows |
pbicli dataset | Operations for working with datasets |
pbicli embedded | Operations for working with Embedded capacity |
pbicli feature | Operations for working with features |
pbicli gateway | Operations for working with gateways |
pbicli import | Operations for working with imports |
pbicli interactive | Start interactive mode |
pbicli login | Login to Power BI |
pbicli logout | Logout of Power BI |
pbicli pipeline | Operations for working with pipelines |
pbicli report | Operations for working with reports |
pbicli rest | Invoke a custom Power BI REST API request |
pbicli scorecard | Operations for working with scorecards (goals) |
pbicli user | Operations for working with users |
pbicli version | Show the version of this Power BI CLI |
pbicli workspace | Operations for working with workspaces |
pbicli interactive
Start interactive mode
pbicli interactive
Parameters
-h, --help
display help for command
pbicli login
Login to Power BI
pbicli login [--interactive]
[--use-device-code]
[--azurecli]
[--service-principal]
[--principal] [-p]
[--secret] [-s]
[--tenant] [-t]
[--no-azure]
Parameters
--interactive
Login interactively. Default value if no parameter is given--use-device-code
Use CLI's old authentication flow based on device code.--azurecli
Login via Azure CLI--service-principal
Login with a service principal--principal -p <principal>
The service principal ID--secret -s <secret>
Client secret--tenant -t <tenant>
The AAD tenant--no-azure
Do not authenticate against Azure for 'embedded' commands
Examples
Login interactive
pbicli login
Login with Azure CLI credentials
pbicli login --azurecli
Log in with a service principal using client secret
pbicli login --service-principal -p 7105d380-a699-4d0a-aeb4-ad3e6f4db865 -s VerySecret -t contoso.onmicrosoft.com
pbicli logout
Log out and deletes stored login information for the Power BI REST APIs.
pbicli logout
pbicli rest
Invoke a custom Power BI REST API request
pbicli rest [--uri]
[--body] [-b]
[--headers]
[--method] [-m]
Parameters
--uri <uri>
Request URL. If it doesn't start with a host, CLI prefixes it with the current cloud endpoint.--body -b <body>
Request body. Use @{file} to load from a file--headers <headers>
Space-separated headers in KEY=VALUE format or JSON string--method -m <method>
HTTP request method, accepted values: delete, get, head, options, patch, post, put
pbicli version
Show the version of this Power BI CLI
pbicli version