Table of Contents

Update-PnPApp

SYNOPSIS

Updates an available app from the app catalog.

SYNTAX

Update-PnPApp [-Identity] <AppMetadataPipeBind> [-Scope <AppCatalogScope>] [-Connection <PnPConnection>]

DESCRIPTION

Allows to update an available app from the app catalog.

EXAMPLES

EXAMPLE 1

Update-PnPApp -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe

This will update an already installed app if a new version is available in the tenant app catalog. Retrieve a list of all available apps and the installed and available versions with Get-PnPApp.

EXAMPLE 2

Update-PnPApp -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe -Scope Site

This will update an already installed app if a new version is available in the site collection app catalog. Retrieve a list of all available apps and the installed and available versions with Get-PnPApp -Scope Site.

PARAMETERS

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Identity

Specifies the Id or an actual app metadata instance.

Type: AppMetadataPipeBind
Parameter Sets: (All)

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Scope

Defines which app catalog to use. Defaults to Tenant.

Type: AppCatalogScope
Parameter Sets: (All)
Accepted values: Tenant, Site

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices