| external help file | sharepointonline.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/sharepoint-online/Set-SPOAppPrioritizationPolicy |
| applicable | SharePoint Online |
| title | Set-SPOAppPrioritizationPolicy |
| schema | 2.0.0 |
| author | killerewok2000 |
| ms.author | Sibourda |
| ms.reviewer |
Edits an existing SPO app prioritization policy in your tenancy.
Note
This functionality is rolling out and might not be fully enabled in your environment yet.
Set-SPOAppPrioritizationPolicy -PolicyId <String> [-Enabled <Boolean>] [-QuotaMultiplier <Int32>] [<CommonParameters>]
This cmdlet lets you enable or disable an existing policy and/or change the quota multiplier limit associated with the policy. Note that disabling the policy does not delete the policy. If you need to change only one of the two parameters, retain the value of the non-changing parameter from the Get-SPOAppPrioritizationPolicies commandlet.
Set-SPOAppPrioritizationPolicies -PolicyId 48abxxa9 -Enabled $false Example 1 disables the policy bearing the policyId 48abxxa9
Set-SPOAppPrioritizationPolicies -PolicyId 48abxxa9 -Enabled $true -QuotaMultiplier 7 Example 2 enables the policy bearing the policyId 48abxxa9 and also sets the quota multiplier limit to 7.
Set-SPOAppPrioritizationPolicies -PolicyId 48abxxa9 -QuotaMultiplier 8 Example 3 set the quota multiplier limit to 7 of the policy bearing the policyId 48abxxa9.
This parameter specifies the ID of policy.
Type: String
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis parameter described the state wanted of the policy.
Type: Bool
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis parameter specifies the quota multiplier limit for the scaling feature. Value must be between 2 and 10.
Type: int
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Getting started with SharePoint Online Management Shell
Add-SPOAppPrioritizationPolicy