Forum Discussion
Dhruvin27
4 years agoNew Member
Power BI PowerShell - A task was canceled.,Microsoft.PowerBI.Commands.Reports.GetPowerBIReport
I have 1500+ Workspaces in my Power BI Tenant. When I loop through the Workspaces and try to Get Reports using the following code snippet, it is working for few workspaces. Around (30 Workspace). ...
lbendlin
Super User
4 years agoUse Invoke-RestMethod with this API call
Admin - Groups GetGroupsAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Docs
It supports filtering and pagination, and generally has better performance.