Skip to content

Commit 6452b14

Browse files
restore deletted
1 parent 81a5a43 commit 6452b14

File tree

4 files changed

+389
-0
lines changed

4 files changed

+389
-0
lines changed
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/Add-SPOAppPrioritizationPolicy
5+
applicable: SharePoint Online
6+
title: Add-SPOAppPrioritizationPolicy
7+
schema: 2.0.0
8+
author: killerewok2000
9+
ms.author: Sibourda
10+
ms.reviewer:
11+
---
12+
13+
# Add-SPOAppPrioritizationPolicy
14+
15+
## SYNOPSIS
16+
17+
Adds a new SPO app prioritization Policy to your tenancy.
18+
> [!NOTE]
19+
> This functionality is rolling out and might not be fully enabled in your environment yet.
20+
21+
## SYNTAX
22+
23+
```
24+
Add-SPOAppPrioritizationPolicy -AppId <Guid> -AzureSubscriptionId <Guid> -ResourceGroup <String> -Account <String> -QuotaMultiplier <Int32> [<CommonParameters>]
25+
```
26+
27+
## DESCRIPTION
28+
29+
This cmdlet adds a new SPO app prioritization billing policies to your tenancy. Ensure that you do not add a new billing policy to an app that already has one.
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
35+
```powershell
36+
Add-SPOAppPrioritizationPolicies -AppId 48ab2ba9-5713-47d6-88a1-f6e3a0730833 -AzureSubscriptionId 48ab1ba4-9813-47d6-88a1-f6e3a0730822 -ResourceGroup newResourceGroup -Account newAccountName -QuotaMultiplier 5
37+
```
38+
39+
Example 1 adds the billing policy to your tenancy. It will not add the policy on invalid inputs or for apps that already have an associated policy.
40+
41+
42+
## PARAMETERS
43+
44+
### -AppId
45+
46+
This parameter specifies the app ID of the application to onboard.
47+
```yaml
48+
Type: Guid
49+
Parameter Sets: (All)
50+
Aliases:
51+
Applicable: SharePoint Online
52+
53+
Required: True
54+
Position: Named
55+
Default value: None
56+
Accept pipeline input: False
57+
Accept wildcard characters: False
58+
```
59+
60+
### -AzureSubscriptionId
61+
62+
This parameter describes the Azure subscription ID to which the container type needs to be associated.
63+
64+
```yaml
65+
Type: Guid
66+
Parameter Sets: (All)
67+
Aliases:
68+
Applicable: SharePoint Online
69+
70+
Required: True
71+
Position: Named
72+
Default value: None
73+
Accept pipeline input: False
74+
Accept wildcard characters: False
75+
```
76+
77+
78+
### -ResourceGroup
79+
80+
This parameter describes the resource group to be used for the associated container type.
81+
82+
```yaml
83+
Type: String
84+
Parameter Sets: (All)
85+
Aliases:
86+
Applicable: SharePoint Online
87+
88+
Required: True
89+
Position: Named
90+
Default value: None
91+
Accept pipeline input: False
92+
Accept wildcard characters: False
93+
```
94+
95+
### -Account
96+
97+
This parameter describes the account to which the billing profile of the container type is associated with.
98+
99+
```yaml
100+
Type: String
101+
Parameter Sets: (All)
102+
Aliases:
103+
Applicable: SharePoint Online
104+
105+
Required: True
106+
Position: Named
107+
Default value: None
108+
Accept pipeline input: False
109+
Accept wildcard characters: False
110+
```
111+
### -QuotaMultiplier
112+
113+
This parameter specifies the multiplier for the scaling feature. Value must be between 2 and 10.
114+
115+
```yaml
116+
Type: int
117+
Parameter Sets: (All)
118+
Aliases:
119+
Applicable: SharePoint Online
120+
121+
Required: True
122+
Position: Named
123+
Default value: None
124+
Accept pipeline input: False
125+
Accept wildcard characters: False
126+
```
127+
### CommonParameters
128+
129+
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](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
130+
131+
132+
## RELATED LINKS
133+
134+
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
135+
136+
[Get-SPOAppPrioritizationPolicies](./Get-SPOAppPrioritizationPolicies.md)
137+
138+
[Set-SPOAppPrioritizationPolicy](./Set-SPOAppPrioritizationPolicy.md)
139+
140+
[Remove-SPOAppPrioritizationPolicy](./Remove-SPOAppPrioritizationPolicy.md)
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/Get-SPOAppPrioritizationPolicies
5+
applicable: SharePoint Online
6+
title: Get-SPOAppPrioritizationPolicies
7+
schema: 2.0.0
8+
author: killerewok2000
9+
ms.author: Sibourda
10+
ms.reviewer:
11+
---
12+
13+
# Get-SPOAppPrioritizationPolicies
14+
15+
## SYNOPSIS
16+
17+
Gets all existing SPO app prioritization policies of your tenancy.
18+
> [!NOTE]
19+
> This functionality is rolling out and might not be fully enabled in your environment yet.
20+
21+
## SYNTAX
22+
23+
```
24+
Get-SPOAppPrioritizationPolicies [<CommonParameters>]
25+
```
26+
27+
28+
## DESCRIPTION
29+
30+
This cmdlet gets all existing SPO App prioritization billing policies for your tenancy.
31+
32+
## EXAMPLES
33+
34+
### Example 1
35+
36+
```powershell
37+
Get- SPOAppPrioritizationPolicies
38+
```
39+
40+
Example 1 returns a collection of all existing SPO app prioritization policies. Each policy will contain PolicyId, AppId, AzureSubscription, ResourceGroup, Account, Enabled (status of this policy i.e true or false) and QuotaMultiplier
41+
42+
43+
## PARAMETERS
44+
45+
### CommonParameters
46+
47+
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](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
48+
49+
## RELATED LINKS
50+
51+
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
52+
53+
[Add-SPOAppPrioritizationPolicy](./Add-SPOAppPrioritizationPolicy.md)
54+
55+
[Set-SPOAppPrioritizationPolicy](./Set-SPOAppPrioritizationPolicy.md)
56+
57+
[Remove-SPOAppPrioritizationPolicy](./Remove-SPOAppPrioritizationPolicy.md)
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/Remove-SPOAppPrioritizationPolicy
5+
applicable: SharePoint Online
6+
title: Remove-SPOAppPrioritizationPolicy
7+
schema: 2.0.0
8+
author: killerewok2000
9+
ms.author: Sibourda
10+
ms.reviewer:
11+
---
12+
13+
# Remove-SPOAppPrioritizationPolicy
14+
15+
## SYNOPSIS
16+
17+
Deletes an existing SPO app prioritization policy in your tenancy.
18+
> [!NOTE]
19+
> This functionality is rolling out and might not be fully enabled in your environment yet.
20+
21+
## SYNTAX
22+
23+
```
24+
Remove-SPOAppPrioritizationPolicy -PolicyId <String> [<CommonParameters>]
25+
```
26+
27+
## DESCRIPTION
28+
29+
This cmdlet lets you delete an existing SPO app prioritization policy.
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
35+
```powershell
36+
Remove-SPOAppPrioritizationPolicy -PolicyId 48abxxa9
37+
```
38+
39+
Example 1 deletes the policy bearing the policyId 48abxxa9. Running the `Get-SPOAppPrioritizationPolicies` command will no longer show the policy in the result.
40+
41+
## PARAMETERS
42+
43+
### -PolicyId
44+
45+
This parameter specifies the ID of policy.
46+
```yaml
47+
Type: String
48+
Parameter Sets: (All)
49+
Aliases:
50+
Applicable: SharePoint Online
51+
52+
Required: True
53+
Position: Named
54+
Default value: None
55+
Accept pipeline input: False
56+
Accept wildcard characters: False
57+
```
58+
### CommonParameters
59+
60+
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](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
61+
62+
## RELATED LINKS
63+
64+
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
65+
66+
[Add-SPOAppPrioritizationPolicy](./Add-SPOAppPrioritizationPolicy.md)
67+
68+
[Get-SPOAppPrioritizationPolicies](./Get-SPOAppPrioritizationPolicies.md)
69+
70+
[Set-SPOAppPrioritizationPolicy](./Set-SPOAppPrioritizationPolicy.md)
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/Set-SPOAppPrioritizationPolicy
5+
applicable: SharePoint Online
6+
title: Set-SPOAppPrioritizationPolicy
7+
schema: 2.0.0
8+
author: killerewok2000
9+
ms.author: Sibourda
10+
ms.reviewer:
11+
---
12+
13+
# Set-SPOAppPrioritizationPolicy
14+
15+
## SYNOPSIS
16+
17+
Edits an existing SPO app prioritization policy in your tenancy.
18+
> [!NOTE]
19+
> This functionality is rolling out and might not be fully enabled in your environment yet.
20+
21+
## SYNTAX
22+
23+
```
24+
Set-SPOAppPrioritizationPolicy -PolicyId <String> [-Enabled <Boolean>] [-QuotaMultiplier <Int32>] [<CommonParameters>]
25+
```
26+
27+
## DESCRIPTION
28+
29+
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.
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
35+
```powershell
36+
Set-SPOAppPrioritizationPolicies -PolicyId 48abxxa9 -Enabled $false
37+
```
38+
39+
Example 1 disables the policy bearing the policyId 48abxxa9
40+
41+
### Example 2
42+
43+
```powershell
44+
Set-SPOAppPrioritizationPolicies -PolicyId 48abxxa9 -Enabled $true -QuotaMultiplier 7
45+
```
46+
47+
Example 2 enables the policy bearing the policyId 48abxxa9 and also sets the quota multiplier limit to 7.
48+
49+
### Example 3
50+
51+
```powershell
52+
Set-SPOAppPrioritizationPolicies -PolicyId 48abxxa9 -QuotaMultiplier 8
53+
```
54+
55+
Example 3 set the quota multiplier limit to 7 of the policy bearing the policyId 48abxxa9.
56+
57+
## PARAMETERS
58+
59+
### -PolicyId
60+
61+
This parameter specifies the ID of policy.
62+
```yaml
63+
Type: String
64+
Parameter Sets: (All)
65+
Aliases:
66+
Applicable: SharePoint Online
67+
68+
Required: True
69+
Position: Named
70+
Default value: None
71+
Accept pipeline input: False
72+
Accept wildcard characters: False
73+
```
74+
75+
### -Enabled
76+
77+
This parameter described the state wanted of the policy.
78+
79+
```yaml
80+
Type: Bool
81+
Parameter Sets: (All)
82+
Aliases:
83+
Applicable: SharePoint Online
84+
85+
Required: False
86+
Position: Named
87+
Default value: None
88+
Accept pipeline input: False
89+
Accept wildcard characters: False
90+
```
91+
92+
93+
### -QuotaMultiplier
94+
95+
This parameter specifies the quota multiplier limit for the scaling feature. Value must be between 2 and 10.
96+
97+
```yaml
98+
Type: int
99+
Parameter Sets: (All)
100+
Aliases:
101+
Applicable: SharePoint Online
102+
103+
Required: False
104+
Position: Named
105+
Default value: None
106+
Accept pipeline input: False
107+
Accept wildcard characters: False
108+
```
109+
110+
### CommonParameters
111+
112+
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](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
113+
114+
## RELATED LINKS
115+
116+
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
117+
118+
[Add-SPOAppPrioritizationPolicy](./Add-SPOAppPrioritizationPolicy.md)
119+
120+
[Get-SPOAppPrioritizationPolicies](./Get-SPOAppPrioritizationPolicies.md)
121+
122+
[Remove-SPOAppPrioritizationPolicy](./Remove-SPOAppPrioritizationPolicy.md)

0 commit comments

Comments
 (0)