Skip to content

[BUG] api with -A powerbi is throwing 401 errors #83

@RuiRomano

Description

@RuiRomano

Bug Description

I can call the powerBI api to retrieve the workspace details:

fab api -A powerbi groups/9af64d7a-7f73-4945-9d9c-c33a6d51ed19

But fails with 401 when trying to retrieve the list of datasets:

fab api -A powerbi groups/9af64d7a-7f73-4945-9d9c-c33a6d51ed19/datasets

Image

fabric-cli version

1.2.0

Python version

Python 3.12.10

Operating System

Windows

CLI Mode

Interactive mode

Authentication Method

Interactive browser login

Steps to Reproduce

Create workspace
Upload a PBIX
Try the API commands from the bug description

Expected Behavior

Execute the PowerBI API

Actual Behavior

Get 401 error

Additional Context

No response

Possible Solution

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions