Table of contents
TOC
Collapse the table of content
Expand the table of content

Uninstall-PnPAppInstance

Bert Jansen|Last Updated: 2/20/2017
|
1 Contributor

Removes an app from a site

Syntax

Uninstall-PnPAppInstance -Identity <AppPipeBind>
                         [-Force [<SwitchParameter>]]
                         [-Web <WebPipeBind>]

Parameters

ParameterTypeRequiredDescription
IdentityAppPipeBindTrueAppinstance or Id of the addin to remove.
ForceSwitchParameterFalseDo not ask for confirmation.
WebWebPipeBindFalseThe web to apply the command to. Omit this parameter to use the current web.

Examples

Example 1

PS:> Uninstall-PnPAppInstance -Identity $appinstance

Uninstalls the app instance which was retrieved with the command Get-PnPAppInstance

Example 2

PS:> Uninstall-PnPAppInstance -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe

Uninstalls the app instance with the ID '99a00f6e-fb81-4dc7-8eac-e09c6f9132fe'

Example 3

PS:> Uninstall-PnPAppInstance -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe -force

Uninstalls the app instance with the ID '99a00f6e-fb81-4dc7-8eac-e09c6f9132fe' and do not ask for confirmation

© 2017 Microsoft