uid | title | documentId |
---|---|---|
samples/report |
Power BI CLI Samples for Power BI reports |
682ed0b7-93d1-4f80-8a22-52fa60fcd7af |
The following table includes links to bash and PowerShell scripts built using the Power BI CLI.
Script | Description |
---|---|
List reports | List reports |
List all reports | List all reports |
List reports the user/service principal has access to for a certain workspace
pbicli report list --workspace Demos
pbicli report list --workspace Demos
List all reports from all workspaces the user/service principal has access to
# Retrieve all workspace ids
workspaces=`pbicli workspace list --query "[*].{id:id}" --output tsv`
# Loop thru all the available workspaces
for workspace in $workspaces
do
pbicli report list --workspace $workspace
done
# Retrieve all workspace ids
$workspaces=pbicli workspace list --query "[*].{id:id}" --output tsv
# Loop thru all the available workspaces
foreach ($workspace in $workspaces) {
pbicli report list --workspace $workspace
}