Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

Graph powershell list of apps in the app catalog

%3CLINGO-SUB%20id%3D%22lingo-sub-1400875%22%20slang%3D%22en-US%22%3EGraph%20powershell%20list%20of%20apps%20in%20the%20app%20catalog%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1400875%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20all%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20found%20this%20article%20that%20tells%20me%20how%20to%20use%20Graph%20to%20list%20all%20the%20apps%20in%20the%20app%20catalog%20.%26nbsp%3B%20How%20can%20i%20use%20this%20in%20a%20powershell%20script%20so%20i%20can%20get%20an%20export%20%3F%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteamsapp-list%3Fview%3Dgraph-rest-1.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteamsapp-list%3Fview%3Dgraph-rest-1.0%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1400875%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1401066%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20powershell%20list%20of%20apps%20in%20the%20app%20catalog%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1401066%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F587501%22%20target%3D%22_blank%22%3E%40skipster3115%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20just%20need%20to%20list%20apps%20in%20catalog%2C%20you%20can%20use%20Microsoft%20Teams%20PowerShell%20module%20and%20Get-TeamsApp%20cmdlet.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FMicrosoftTeams%2Fteams-powershell-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FMicrosoftTeams%2Fteams-powershell-overview%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20install%20Teams%20module%20from%20PowerShell%20Gallery%20running%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EInstall-Module%20MicrosoftTeams%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EList%20apps%20to%20a%20GridView%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EConnect-MicrosoftTeams%0AGet-TeamsApp%20%7C%20Out-GridView%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EResults%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Annotation%202020-05-19%20062720.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F192920iDA3F775F7E6F3F39%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Annotation%202020-05-19%20062720.png%22%20alt%3D%22Annotation%202020-05-19%20062720.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1402226%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20powershell%20list%20of%20apps%20in%20the%20app%20catalog%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1402226%22%20slang%3D%22en-US%22%3EAwesome.%20Thanks%3C%2FLINGO-BODY%3E
New Contributor

Hello all

 

I found this article that tells me how to use Graph to list all the apps in the app catalog .  How can i use this in a powershell script so i can get an export ?

https://docs.microsoft.com/en-us/graph/api/teamsapp-list?view=graph-rest-1.0

3 Replies

Hi @skipster3115 ,

 

If you just need to list apps in catalog, you can use Microsoft Teams PowerShell module and Get-TeamsApp cmdlet.

https://docs.microsoft.com/en-us/MicrosoftTeams/teams-powershell-overview

 

You can install Teams module from PowerShell Gallery running: 

 

Install-Module MicrosoftTeams

 

 

List apps to a GridView

 

Connect-MicrosoftTeams
Get-TeamsApp | Out-GridView

 

 

Results:
Annotation 2020-05-19 062720.png

 

 

 

Awesome. Thanks
Thanks Matti,
Any idea on how to generate list of Allowed Apps vs List of Blocked Apps?
Thanks,