Skip to content

Latest commit

 

History

History
122 lines (85 loc) · 3.26 KB

File metadata and controls

122 lines (85 loc) · 3.26 KB
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

Set-SPOAppPrioritizationPolicy

SYNOPSIS

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.

SYNTAX

Set-SPOAppPrioritizationPolicy -PolicyId <String> [-Enabled <Boolean>] [-QuotaMultiplier <Int32>] [<CommonParameters>]

DESCRIPTION

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.

EXAMPLES

Example 1

Set-SPOAppPrioritizationPolicies -PolicyId 48abxxa9 -Enabled $false 

Example 1 disables the policy bearing the policyId 48abxxa9

Example 2

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.

Example 3

Set-SPOAppPrioritizationPolicies -PolicyId 48abxxa9 -QuotaMultiplier 8 

Example 3 set the quota multiplier limit to 7 of the policy bearing the policyId 48abxxa9.

PARAMETERS

-PolicyId

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: False

-Enabled

This 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: False

-QuotaMultiplier

This 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: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

RELATED LINKS

Getting started with SharePoint Online Management Shell

Add-SPOAppPrioritizationPolicy

Get-SPOAppPrioritizationPolicies

Remove-SPOAppPrioritizationPolicy