π 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
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