Skip to content

[BUG] TEST: Potential Bug β€” api with -A powerbi is throwing 401 errors (upstream #83)Β #62

@ayeshurun

Description

@ayeshurun

πŸ“‹ Copied from microsoft/fabric-cli#83 for AI triage testing.
Expected triage outcome: Potential Bug


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

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions