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
Copy file name to clipboardExpand all lines: sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenantPreAuthSettings.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Sets the pre auth settings for the tenant.
19
19
20
20
**What is pre auth?**
21
21
22
-
SharePoint includes self-issued tokens into some URLs called pre auth URLs or temp auth URLs to provide temporary access to a SharePoint resource, which helps support more rich user experiences. For example, a common scenario is downloading a file using a pre auth URL that includes the token in the `tempauth` query parameter like so:
22
+
SharePoint includes self-issued tokens into URLs called pre auth URLs or temp auth URLs to provide temporary access to a SharePoint resource, which helps support more rich user experiences. For example, a common scenario is downloading a file using a pre auth URL that includes the token in the `tempauth` query parameter like so:
@@ -64,7 +64,7 @@ Sets the pre auth settings for the tenant.
64
64
> 3. IsDisabled
65
65
66
66
> [!NOTE]
67
-
> If there are any overlapping settings (meaning that they apply to the same app id and feature) within the Allow or Deny list, the last setting that comes in the list wins and essentially overwrites the previous settings.
67
+
> The -IncludedApps and -IncludedFeatures parameters alone should be enough for simpler configurations. However, there are some cases (like example 3) where the -ExcludedApps and -ExcludedFeatures parameters are useful to define exactly which apps are allowed/denied from using pre auth.
This example disables pre auth for the tenant overall and adds a setting that allows 2 apps continue using pre auth for all features, while the rest of the apps and features are denied from using pre auth.
77
+
This example disables pre auth for the tenant overall and adds a setting that allows two apps continue using pre auth for all features, while the rest of the apps and features are denied from using pre auth.
78
78
79
79
> [!NOTE]
80
-
> This example relies on the default values for the `-ExcludedApps`, `-IncludedFeatures`, or `-ExcludedFeatures` parameters. So the following would be an equivalent command, where the empty quotes say that all other apps and features are included for the setting.
> This example relies on the default values for the `-ExcludedApps`, `-IncludedFeatures`, or `-ExcludedFeatures` parameters. The following would be an equivalent command, where empty quotes for -ExcludedApps mean that the rest of the apps are excluded from the setting and empty quotes for both -IncludedFeatures and -ExcludedFeatures mean that all features are included for the setting.
This example enables pre auth for the tenant overall, but it has overlapping settings between the allow and deny lists. The allow list setting allows the app with id 00000000-0000-0000-0000-000000000000 to use pre auth for WAC, Embed, and Download features. But the deny list setting denies the same app from using pre auth for all features.
109
+
This example disables pre auth for the tenant overall, but it has overlapping settings between the allow and deny lists. The allow list setting tries to allow the app with id 00000000-0000-0000-0000-000000000000 to use pre auth for WAC, Embed, and Download features. But the deny list setting denies the same app from using pre auth for all features.
108
110
109
-
In this case, the app with id 00000000-0000-0000-0000-000000000000 will not be allowed to use pre auth for any feature (including all the allow-listed features) because the deny list takes precedence over the allow list. Any other app will be denied from using pre auth for any feature.
111
+
In this case, the app with id 00000000-0000-0000-0000-000000000000 will be denied from using pre auth for any feature (including all the allow-listed features) because the deny list takes precedence over the allow list. Any other app will be denied from using pre auth for any feature.
110
112
111
113
## PARAMETERS
112
114
@@ -180,7 +182,7 @@ String containing a comma-separated list of app ids that are included for the al
180
182
181
183
Possible Values:
182
184
- `""`: Default. If both the -IncludedApps and -ExcludedApps parameters are empty strings, the allow or deny list setting will apply to all apps.
183
-
- A comma-separated list of app ids (e.g. `"00000000-0000-0000-0000-000000000000,11111111-1111-1111-1111-111111111111"`): The allow or deny list setting will apply to only the apps in the list and all other apps will not have the setting applied.
185
+
- A comma-separated list of app ids (e.g. `"00000000-0000-0000-0000-000000000000,11111111-1111-1111-1111-111111111111"`): The allow or deny list setting will apply to only the apps in the list and all other apps will be excluded from the setting.
184
186
185
187
```yaml
186
188
Type: String
@@ -199,7 +201,7 @@ String containing a comma-separated list of app ids that are excluded for the al
199
201
200
202
Possible Values:
201
203
- `""`: Default. If both the -IncludedApps and -ExcludedApps parameters are empty strings, the allow or deny list setting will apply to all apps.
202
-
- A comma-separated list of app ids (e.g. `"00000000-0000-0000-0000-000000000000,11111111-1111-1111-1111-111111111111"`): The allow or deny list setting will not apply to the apps in the list and all other apps will have the setting applied.
204
+
- A comma-separated list of app ids (e.g. `"00000000-0000-0000-0000-000000000000,11111111-1111-1111-1111-111111111111"`): The allow or deny list setting will not apply to the apps in the list and all other apps will be included for this setting.
203
205
204
206
```yaml
205
207
Type: String
@@ -218,7 +220,7 @@ String containing a comma-separated list of features included for the allow list
218
220
219
221
Possible Values:
220
222
- `""`: Default. If both the -IncludedFeatures and -ExcludedFeatures parameters are empty string, the allow or deny list setting will apply to all features.
221
-
- A comma-separated list of features (e.g. `"Whiteboard,Download,WAC"`): The allow or deny list setting will apply to only the features in the list (see the list below for all available features) and all other features will not have the setting applied.
223
+
- A comma-separated list of features (e.g. `"Whiteboard,Download,WAC"`): The allow or deny list setting will apply to only the features in the list (see the list below for all available features) and all other features will be excluded from the setting.
222
224
223
225
Features:
224
226
- "Whiteboard"
@@ -250,7 +252,7 @@ Features:
250
252
- "Thumbnail"
251
253
- "Embed"
252
254
- "VroomContent"
253
-
- "S2S-PAC"
255
+
- "S2SPAC"
254
256
- "PAC"
255
257
- "VideoPlayback"
256
258
- "AudioTrackUpload"
@@ -273,7 +275,7 @@ String containing a comma-separated list of features excluded for the allow list
273
275
274
276
Possible Values:
275
277
- `""`: Default. If both the -IncludedFeatures and -ExcludedFeatures parameters are empty string, the allow or deny list setting will apply to all features.
276
-
- A comma-separated list of features (e.g. `"Whiteboard,Download,WAC"`): The allow or deny list setting will not apply to the features in the list (see the list above for all available features) and all other features will have the setting applied.
278
+
- A comma-separated list of features (e.g. `"Whiteboard,Download,WAC"`): The allow or deny list setting will not apply to the features in the list (see the list above for all available features) and all other features will be included for the setting.
0 commit comments