Set-SPAppAcquisitionConfiguration

{{Fill in the Synopsis}}

Syntax

Set-SPAppAcquisitionConfiguration
   -Enable <Boolean>
   -SiteSubscription <SPSiteSubscriptionPipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]
Set-SPAppAcquisitionConfiguration
   -Enable <Boolean>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-Confirm]
   -WebApplication <SPWebApplicationPipeBind>
   [-WhatIf]
   [<CommonParameters>]

Description

{{Fill in the Description}}

Examples

--------------------EXAMPLE 1---------------------

PS C:\> {{ Add example code here }}

{{ Add example description here }}

--------------------EXAMPLE 2---------------------

C:\PS>Set-SPAppAcquisitionConfiguration -SiteSubscription http://localhost/sites/SharePointOnlineAdmin1 -Enable:$false

This example disables app purchase for the specified tenant.

Required Parameters

-Enable

{{Fill Enable Description}}

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016
-SiteSubscription

{{Fill SiteSubscription Description}}

Type:SPSiteSubscriptionPipeBind
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016
-WebApplication

{{Fill WebApplication Description}}

Type:SPWebApplicationPipeBind
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016

Optional Parameters

-AssignmentCollection

{{Fill AssignmentCollection Description}}

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016

Inputs

Microsoft.SharePoint.PowerShell.SPWebApplicationPipeBind

Microsoft.SharePoint.PowerShell.SPSiteSubscriptionPipeBind Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Outputs

System.Object