SharePoint Online - PnP PowerShell - Get Installed Apps

Daniel Chee 276 Reputation points
2023-03-09T02:15:11.06+00:00

Hi MS Q&A,

Seeking advice and recommendation on PnP PowerShell cmdlets that can assist with listing the available Apps deployed / installed against a SharePoint Online Site Collection.

Had been attempting with Get-PnPApp, however it does not appear to list certain Apps like below and assumed because it is not from the Tenant or Site App Catalog:

    1. Nintex Workflow for Office 365
    1. Nintex Forms for Office 365

Had also tried Get-PnPAppInfo, which does provide further detail to the above Apps, however there are no explicit indications on the output to confirm their installed status.

Appreciate any advice and information.

Thank you.

Microsoft 365 and Office SharePoint For business Windows
Windows for business Windows Server User experience PowerShell
0 comments No comments
{count} votes

Accepted answer
  1. AllenXu-MSFT 24,941 Reputation points Moderator
    2023-03-09T06:46:46.09+00:00

    Hi @Daniel Chee,

    Use below PowerShell script to show all installed apps from the marketplace or app catalog for a SharePoint site.

    $Url = "https://lazymorning.sharepoint.com/sites/astralis"
    
    
    if ($Credentials -eq $null)
    {
        $Credentials = Get-Credential
    }
    
    Connect-PnPOnline –Url $Url –Credentials $Credentials
    
    $web = Get-PnPWeb –Includes AppTiles
    
    $appTiles = $web.AppTiles
    Invoke-PnPQuery
    
    foreach ($appTile in $appTiles)
    {
        $appTitle = $appTile.AppTitle
        $appType = $appTile.AppType
        $appStatus = $appTile.AppStatus
        $appSource = $appTile.AppSource
        $isCorporateCatalogSite = $appTile.IsCorporateCatalogSite
    
        if ($appType -eq "Instance")
        {
            $appTile
        }
    }
    
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.