Skip to content

Commit 3b08c7c

Browse files
authored
Update Set-SPOTenantPreAuthSettings.md
1 parent e5ee158 commit 3b08c7c

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

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

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ Sets the pre auth settings for the tenant.
1919

2020
**What is pre auth?**
2121

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: `https://<tenant>.sharepoint.com/sites/samplesite/_layouts/15/download.aspx?UniqueId=<id>&tempauth=v1.ey...`.
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:
23+
24+
`https://<tenant>.sharepoint.com/sites/samplesite/_layouts/15/download.aspx?UniqueId=<id>&tempauth=v1.ey...`
2325

2426
However, pre auth is currently being deprecated. So this command lets you control whether you want to disable the use of pre auth overall and define any special cases to allow or deny the use of pre auth in based on app id and feature.
2527

@@ -30,11 +32,25 @@ Set-SPOTenantPreAuthSettings -IsDisabled <bool> [<CommonParameters>]
3032
```
3133

3234
```powershell
33-
Set-SPOTenantPreAuthSettings -Add -Type {Allow | Deny} [-IncludedApps <string>] [-ExcludedApps <string>] [-IncludedFeatures <string>] [-ExcludedFeatures <string>] [<CommonParameters>]
35+
Set-SPOTenantPreAuthSettings
36+
-Add
37+
-Type {Allow | Deny}
38+
[-IncludedApps <string>]
39+
[-ExcludedApps <string>]
40+
[-IncludedFeatures <string>]
41+
[-ExcludedFeatures <string>]
42+
[<CommonParameters>]
3443
```
3544

3645
```powershell
37-
Set-SPOTenantPreAuthSettings -Remove -Type {Allow | Deny} [-IncludedApps <string>] [-ExcludedApps <string>] [-IncludedFeatures <string>] [-ExcludedFeatures <string>] [<CommonParameters>]
46+
Set-SPOTenantPreAuthSettings
47+
-Remove
48+
-Type {Allow | Deny}
49+
[-IncludedApps <string>]
50+
[-ExcludedApps <string>]
51+
[-IncludedFeatures <string>]
52+
[-ExcludedFeatures <string>]
53+
[<CommonParameters>]
3854
```
3955

4056
## DESCRIPTION

0 commit comments

Comments
 (0)