Skip to content

Commit 1a0f788

Browse files
authored
Update Clear-SPOTenantPreAuthSettings.md
1 parent d057d45 commit 1a0f788

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

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

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,22 @@ Clears the pre-authentication settings for either the allow or deny list.
1919

2020
## SYNTAX
2121

22-
```powershell
23-
Clear-SPOTenantPreAuthSettings
24-
-Type {Allow | Deny}
25-
[<CommonParameters>]
22+
```
23+
Clear-SPOTenantPreAuthSettings -Type <TenantPreAuthSettingsListType> [-WhatIf] [-Confirm] [<CommonParameters>]
2624
```
2725

2826
## DESCRIPTION
2927

3028
Clears the pre-authentication settings for either the allow or deny list.
3129

32-
**What is pre-authentication?**
33-
34-
SharePoint includes self-issued tokens in URLs called pre-authentication URLs (also known as tempauth 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 URL that includes a token in the `tempauth` query parameter like the following:
35-
36-
`https://<tenant>.sharepoint.com/sites/samplesite/_layouts/15/download.aspx?UniqueId=<id>&tempauth=v1.ey...`
37-
38-
This feature is currently being deprecated and you can use the related [Set-SPOTenantPreAuthSettings](Set-SPOTenantPreAuthSettings.md) to control the use of pre-authentication in various use cases.
30+
> [!NOTE]
31+
> **What is pre-authentication?**
32+
>
33+
> SharePoint includes self-issued tokens in URLs called pre-authentication URLs (also known as tempauth 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 URL that includes a token in the `tempauth` query parameter like the following:
34+
>
35+
> `https://<tenant>.sharepoint.com/sites/samplesite/_layouts/15/download.aspx?UniqueId=<id>&tempauth=v1.ey...`
36+
>
37+
> This feature is currently being deprecated and you can use the related [Set-SPOTenantPreAuthSettings](Set-SPOTenantPreAuthSettings.md) to control the use of pre-authentication in various use cases.
3938
4039
## EXAMPLES
4140

@@ -59,12 +58,12 @@ This example clears all list items from the deny list.
5958

6059
### -Type
6160

62-
This parameter indicates whether the cmdlet is interacting with the Allow list or the Deny list within the SPOTenantPreAuthSettings.
61+
This parameter indicates whether the cmdlet is interacting with the Allow list or the Deny list within the `SPOTenantPreAuthSettings`.
6362

6463
PARAMVALUE: Allow | Deny
6564

6665
```yaml
67-
Type: ListType
66+
Type: TenantPreAuthSettingsListType
6867
Applicable: SharePoint Online
6968
Required: True
7069
Position: Named
@@ -74,7 +73,7 @@ Accept wildcard characters: False
7473
```
7574
7675
### CommonParameters
77-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
76+
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).
7877
7978
## RELATED LINKS
8079

0 commit comments

Comments
 (0)