Skip to content

Commit 216f698

Browse files
authored
Merge branch 'main' into yiwen-working
2 parents a4cabe6 + 5a41e54 commit 216f698

File tree

3 files changed

+96
-39
lines changed

3 files changed

+96
-39
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Clear-SPOTenantPreAuthSettings.md

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,14 @@ Clears the pre-authentication settings for either the allow or deny list.
3838
3939
## EXAMPLES
4040

41-
### EXAMPLE 1
42-
41+
### Example 1
4342
```powershell
4443
Clear-SPOTenantPreAuthSettings –Type Allow
4544
```
4645

4746
This example clears all list items from the allow list.
4847

49-
### EXAMPLE 2
48+
### Example 2
5049

5150
```powershell
5251
Clear-SPOTenantPreAuthSettings –Type Deny
@@ -56,25 +55,67 @@ This example clears all list items from the deny list.
5655

5756
## PARAMETERS
5857

58+
### -Confirm
59+
Prompts you for confirmation before running the cmdlet.
60+
61+
```yaml
62+
Type: SwitchParameter
63+
Parameter Sets: (All)
64+
Aliases: cf
65+
66+
Required: False
67+
Position: Named
68+
Default value: None
69+
Accept pipeline input: False
70+
Accept wildcard characters: False
71+
```
72+
5973
### -Type
6074
6175
This parameter indicates whether the cmdlet is interacting with the allow list or the deny list.
6276
63-
PARAMVALUE: Allow | Deny
64-
6577
```yaml
6678
Type: TenantPreAuthSettingsListType
67-
Applicable: SharePoint Online
79+
Parameter Sets: (All)
80+
Aliases:
81+
Accepted values: Allow, Deny
82+
6883
Required: True
6984
Position: Named
7085
Default value: None
7186
Accept pipeline input: False
7287
Accept wildcard characters: False
7388
```
7489
90+
### -WhatIf
91+
Shows what would happen if the cmdlet runs.
92+
The cmdlet is not run.
93+
94+
```yaml
95+
Type: SwitchParameter
96+
Parameter Sets: (All)
97+
Aliases: wi
98+
99+
Required: False
100+
Position: Named
101+
Default value: None
102+
Accept pipeline input: False
103+
Accept wildcard characters: False
104+
```
105+
75106
### CommonParameters
76107
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-5.1).
77108
109+
## INPUTS
110+
111+
### None
112+
113+
## OUTPUTS
114+
115+
### System.Object
116+
117+
## NOTES
118+
78119
## RELATED LINKS
79120
80121
- [Get-SPOTenantPreAuthSettings](Get-SPOTenantPreAuthSettings.md)

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOTenantPreAuthSettings.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ Gets the configuration of pre-authentication.
3838
3939
## EXAMPLES
4040

41-
### EXAMPLE 1
41+
### Example 1
4242

4343
```powershell
4444
Get-SPOTenantPreAuthSettings
4545
```
4646

4747
This example returns all the pre-authentication settings for the tenant as an object.
4848

49-
### EXAMPLE 2
49+
### Example 2
5050

5151
```powershell
5252
Get-SPOTenantPreAuthSettings | ConvertTo-Json
@@ -59,6 +59,16 @@ Gets all the pre-authentication settings for the tenant. Note that this example
5959
### CommonParameters
6060
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-5.1).
6161

62+
## INPUTS
63+
64+
### None
65+
66+
## OUTPUTS
67+
68+
### System.Object
69+
70+
## NOTES
71+
6272
## RELATED LINKS
6373

6474
- [Set-SPOTenantPreAuthSettings](Set-SPOTenantPreAuthSettings.md)

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenantPreAuthSettings.md

Lines changed: 37 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@ This parameter specifies that the operation of the cmdlet is to Add a setting to
130130
```yaml
131131
Type: SwitchParameter
132132
Parameter Sets: AddListItem
133-
Applicable: SharePoint Online
134-
Required: False
133+
Aliases:
134+
135+
Required: True
135136
Position: Named
136137
Default value: None
137138
Accept pipeline input: False
@@ -140,14 +141,13 @@ Accept wildcard characters: False
140141
141142
### -ExcludedApps
142143
143-
This parameter value contains the apps ids to configure within the `-ExcludedApps` scope.
144-
145-
PARAMVALUE: `"Empty"`, `""`, or a comma-separated list of app IDs
144+
This parameter value contains the apps ids to configure within the `-ExcludedApps` scope. Possible values include: `""`, `"Empty"`, or a comma-separated list of app IDs.
146145

147146
```yaml
148147
Type: String
149148
Parameter Sets: AddListItem
150-
Applicable: SharePoint Online
149+
Aliases:
150+
151151
Required: False
152152
Position: Named
153153
Default value: ""
@@ -157,14 +157,13 @@ Accept wildcard characters: False
157157

158158
### -ExcludedFeatures
159159

160-
This parameter value contains the feature names to configure within the `-ExcludedFeatures` scope.
161-
162-
PARAMVALUE: `"Empty"`, `""`, or a comma-separated list of app IDs
160+
This parameter value contains the feature names to configure within the `-ExcludedFeatures` scope. Possible values include: `""` or a comma-separated list of feature names (see NOTES section below).
163161

164162
```yaml
165163
Type: String
166164
Parameter Sets: AddListItem
167-
Applicable: SharePoint Online
165+
Aliases:
166+
168167
Required: False
169168
Position: Named
170169
Default value: ""
@@ -179,7 +178,8 @@ This parameter identifies the list item setting to remove from the current confi
179178
```yaml
180179
Type: String
181180
Parameter Sets: RemoveListItem
182-
Applicable: SharePoint Online
181+
Aliases:
182+
183183
Required: True
184184
Position: Named
185185
Default value: None
@@ -189,14 +189,13 @@ Accept wildcard characters: False
189189

190190
### -IncludedApps
191191

192-
This parameter value contains the app ids to configure within the `-IncludedApps` scope.
193-
194-
PARAMVALUE: `"Empty"`, `""`, or a comma-separated list of app IDs
192+
This parameter value contains the app ids to configure within the `-IncludedApps` scope. Possible values include: `""`, `"Empty"`, or a comma-separated list of app IDs.
195193

196194
```yaml
197195
Type: String
198196
Parameter Sets: AddListItem
199-
Applicable: SharePoint Online
197+
Aliases:
198+
200199
Required: False
201200
Position: Named
202201
Default value: ""
@@ -206,14 +205,13 @@ Accept wildcard characters: False
206205

207206
### -IncludedFeatures
208207

209-
This parameter value contains the feature names to configure within the `-IncludedFeatures` scope.
210-
211-
PARAMVALUE: `"Empty"`, `""`, or a comma-separated list of app IDs
208+
This parameter value contains the feature names to configure within the `-IncludedFeatures` scope. Possible values include: `""` or a comma-separated list of feature names (see NOTES section below).
212209

213210
```yaml
214211
Type: String
215212
Parameter Sets: AddListItem
216-
Applicable: SharePoint Online
213+
Aliases:
214+
217215
Required: False
218216
Position: Named
219217
Default value: ""
@@ -225,12 +223,11 @@ Accept wildcard characters: False
225223

226224
This parameter allows the administrator to toggle pre-authentication for all apps and features to be either enabled or disabled.
227225

228-
PARAMVALUE: True | False
229-
230226
```yaml
231227
Type: Boolean
232228
Parameter Sets: IsDisabled
233-
Applicable: SharePoint Online
229+
Aliases:
230+
234231
Required: True
235232
Position: Named
236233
Default value: False
@@ -245,8 +242,9 @@ This parameter specifies that the operation of the cmdlet is to Remove a setting
245242
```yaml
246243
Type: SwitchParameter
247244
Parameter Sets: RemoveListItem
248-
Applicable: SharePoint Online
249-
Required: False
245+
Aliases:
246+
247+
Required: True
250248
Position: Named
251249
Default value: None
252250
Accept pipeline input: False
@@ -257,20 +255,31 @@ Accept wildcard characters: False
257255

258256
This parameter indicates whether the cmdlet is interacting with the allow list or the deny list.
259257

260-
PARAMVALUE: Allow | Deny
261-
262258
```yaml
263259
Type: TenantPreAuthSettingsListType
264260
Parameter Sets: AddListItem
265-
Applicable: SharePoint Online
261+
Aliases:
262+
Accepted values: Allow, Deny
263+
266264
Required: True
267265
Position: Named
268266
Default value: None
269267
Accept pipeline input: False
270268
Accept wildcard characters: False
271269
```
272270

273-
### Feature Names
271+
### CommonParameters
272+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-5.1).
273+
274+
## INPUTS
275+
276+
### None
277+
278+
## OUTPUTS
279+
280+
### System.Object
281+
282+
## NOTES
274283

275284
The `-IncludedFeatures` and `-ExcludedFeatures` use feature names from the following table. It explicitly mentions if the feature will be broken if it is disabled via the PowerShell cmdlet.
276285

@@ -288,9 +297,6 @@ The `-IncludedFeatures` and `-ExcludedFeatures` use feature names from the follo
288297
| WebRenderingEmbed | Embed SharePoint files in another application. 3rd party application and some 1st party applications may be broken | [Embed Web Part](https://support.microsoft.com/office/add-content-to-your-page-using-the-embed-web-part-721f3b2f-437f-45ef-ac4e-df29dba74de8) |
289298
| Whiteboard | Teams integration with Whiteboard app will be broken for anonymous and guest users. | [Use Whiteboard in a Teams meeting - Microsoft Support](https://support.microsoft.com/office/use-whiteboard-in-a-teams-meeting-26f87802-b37f-4af0-806d-af79fbfb8ae6) |
290299

291-
### CommonParameters
292-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-5.1).
293-
294300
## RELATED LINKS
295301

296302
- [Get-SPOTenantPreAuthSettings](Get-SPOTenantPreAuthSettings.md)

0 commit comments

Comments
 (0)