API for MS Teams Apps in Teams Admin Center

Occasional Contributor

Hello Team

I need to validate  what apps are currently allowed, blocked and submitted in my  Teams tenant.

i know that there is no direct method to export them from Teams Admin centre, however we can do get some information from GRAPH API

 

 I need to export to  file that list all apps with the following 

  • Name
  • Publisher
  • Status
  • Custom app (optional)

With help of 

https://docs.microsoft.com/en-us/graph/api/appcatalogs-list-teamsapps?view=graph-rest-1.0&tabs=http

 

i could manage to get the information except "STATUS" and CUSTOM APP  parameter , on which i could see whether the apps are allowed or BLOCKED

 

https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$expand=AppDefinitions
https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=distributionMethod eq '1'
https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=distributionMethod eq '0'

 

Also, from the graphAPI explorer, how can i export to an file (CSV) or any another options 

 

your timely help would be much appreciated 

1 Reply

@ramki1465 

Since the community has not yet responded to your post, you might want to seek assistance with other resources that are focused on tech support:

 

  • Ask your IT manager to open a support case or call Microsoft using the support line you were given.  Other options for business subscription admins are listed here:

Get support | Microsoft Docs

https://support.serviceshub.microsoft.com/supportforbusiness/create