Set-SPOAppPrioritizationPolicy
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
-Enabled
This parameter described the state wanted of the policy.
Type: | Bool |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PolicyId
This parameter specifies the ID of policy.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-QuotaMultiplier
This parameter specifies the quota multiplier limit for the scaling feature. Value must be between 2 and 10.
Type: | int |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |