Forum Discussion
pborah
Solution Sage
1 year agoGet all reports within apps via Invoke-PowerBIRestMethod in powershell
I'm a workspace admin for all workspaces in our tenant and the owner of all our production apps. While we wait for our infrastructure team to authorize a service principal in AD to be able to make ca...
- 1 year ago
You are using
Invoke-PowerBIRestMethodso you can use relative URLs
$apps = Invoke-PowerBIRestMethod -Url "apps" -Method GetApps don't have reports. Workspaces have reports. Do your loop across groups, not apps.
lbendlin
Super User
1 year agoYou are using
Invoke-PowerBIRestMethod
so you can use relative URLs
$apps = Invoke-PowerBIRestMethod -Url "apps" -Method Get
Apps don't have reports. Workspaces have reports. Do your loop across groups, not apps.