Uninstall-PnPApp

Tip

We encourage you to make improvements to this documentation. Please navigate to https://github.com/pnp/powershell/blob/dev/documentation/Uninstall-PnPApp.md to change this file.

Uninstalls an available add-in from the site

Syntax

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

Examples

EXAMPLE 1

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

This will uninstall the specified app from the current site.

EXAMPLE 2

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

This will uninstall the specified app from the current site. Notice that the app was original installed from the site collection appcatalog.

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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Identity

Specifies the Id of the Addin Instance

Type:AppMetadataPipeBind
Position:0
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-Scope

Defines which app catalog to use. Defaults to Tenant

Type:AppCatalogScope
Accepted values:Tenant, Site
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False