Forum Discussion
Doink
6 months agoRegular Visitor
401 when using Admin APIs
Hi All we are buldinga a monitoring solution for PBI using powershell in SSMS to connect to PBI Admin APIs Autentication is done using an SP that has: PBI Service Tenant.ReadWrite.All Fabric-Adm...
- 6 months ago
Hi Doink ,
This is the interface to use if you want to retireve the list of workspaces, Please cross check if you are using the correct one.GET https://api.fabric.microsoft.com/v1/workspaces
Reference: Workspaces - List Workspaces - REST API (Core) | Microsoft Learn
The required delegations scope for this is Workspace.Read.All or Workspace.ReadWrite.All
I hope this information helps. Please do let us know if you have any further queries.
Thank you
Doink
6 months agoRegular Visitor
Can the issue be that we are using fabric admin and not PowerBI admin?