cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PeterAm Frequent Visitor
Frequent Visitor

How to get a list of all apps within my tenant ?

Hi All,

 

For one of my customer, I'm using PowerShell Module MicrosoftPowerBIMgmt to do some management. Retrieving information about Reports, Dashboard ...

And I'm tring to retrieve all informations about Apps.

When using  this command "$ListApps= Invoke-PowerBIRestMethod -Url 'apps' -Method Get" , I can only have informations about Installed apps with my user even if the user is Tenant Admin.

1. I don't know if I'm doing something wrong

2. Or is there another way to achieve this goal

3. Or just not possible ..

 

Thanks a lot for your help

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: How to get a list of all apps within my tenant ?

Hi @PeterAm ,

 

If I understand your sceanrio correctly that you want to get all the information of the app in the tenant?

 

You could have a reference of this api Admin - Groups GetGroupsAsAdmin.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PeterAm Frequent Visitor
Frequent Visitor

Re: How to get a list of all apps within my tenant ?

Hello @v-piga-msft 

 

Thank you for your response.

Actually, what I really want to do is to get the list of Apps created, Apps (App Workspaces Apps ) Installed and I want to know how many reports are included in each app.

 

I saw your answer with  Admin - Groups GetGroupsAsAdmin. But this command is only for Workspaces right ? Or Am i getting something wrong.

My user is a Tenant Admin. 

With this command : "Get-PowerBIWorkspace -Scope Organization -All" ==> it works perfectly !!!

But I get an error with this : "Invoke-PowerBIRestMethod -Url "admin/groups" -Method Get | ConvertFrom-Json"

So Maybe I'm doing something wrong, maybe the only way to make it work, is to register an app.

 

But anyway, what I really want to do is to get for my Tenant :

- The list of installed Apps

- The list of created Apps

- The list of report or dashboard of an App (what is possible with this  Apps - Get Dashboards )

 

Thank you in advance if you have further information.