You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example performs the same function as example 1 except in this case the switches for `-ExcludedApps`, `-IncludedFeatures`, and `-ExcludedFeatures` are added to the cmdlet.
76
72
77
73
These switches are assumed to take the default value of `""` if not used with the cmdlet and example 2 is used to demonstrate the complete set of switches only.
This example disables pre-authentication overall and allows all apps apart from one to use pre-authentication for all features except for `"Download"` and `"WebRenderingEmbed"`.
92
90
93
91
In this case, the app `"029e7c27-4b9c-4f8b-ba32-b96249468d42"` will always be denied from using pre-authentication since it is excluded from the allow list setting. Any other app will be allowed to use pre-authentication for any feature apart from `"Download"` and `"WebRenderingEmbed"`.
This example disables pre-authentication overall but contains an overlap between the settings in the Allow list and Deny list. It first allows an app to use pre-authentication for the `"OfficeOnline"`, `"WebRenderingEmbed"`, and `"Download"` features. But in the final execution of the cmdlet, it denies the same app from using pre-authentication for all features.
104
103
105
104
In this case, the app `"029e7c27-4b9c-4f8b-ba32-b96249468d42"` would not be allowed to use pre-authentication for any of the allow-listed features despite having the setting. This is because the Deny list takes precedence over the Allow list.
This example enables pre-authentication overall and denies requests that are not coming from an app (e.g. requests coming via a browser) from using pre-authentication for all features.
114
113
@@ -130,8 +129,9 @@ This parameter specifies that the operation of the cmdlet is to Add a setting to
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
143
+
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.
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
159
+
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).
163
160
164
161
```yaml
165
162
Type: String
166
163
Parameter Sets: AddListItem
167
-
Applicable: SharePoint Online
164
+
Aliases:
165
+
168
166
Required: False
169
167
Position: Named
170
168
Default value: ""
@@ -179,7 +177,8 @@ This parameter identifies the list item setting to remove from the current confi
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
191
+
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.
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
207
+
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).
This parameter indicates whether the cmdlet is interacting with the allow list or the deny list.
259
256
260
-
PARAMVALUE: Allow | Deny
261
-
262
257
```yaml
263
258
Type: TenantPreAuthSettingsListType
264
259
Parameter Sets: AddListItem
265
-
Applicable: SharePoint Online
260
+
Aliases:
261
+
Accepted values: Allow, Deny
262
+
266
263
Required: True
267
264
Position: Named
268
265
Default value: None
269
266
Accept pipeline input: False
270
267
Accept wildcard characters: False
271
268
```
272
269
273
-
### Feature Names
270
+
### CommonParameters
271
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
272
+
273
+
## INPUTS
274
+
275
+
### None
276
+
277
+
## OUTPUTS
278
+
279
+
### System.Object
280
+
281
+
## NOTES
274
282
275
283
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.
0 commit comments