Skip to content

Commit 00646e4

Browse files
authored
Remove incorrectly formatted code from Get-SPOTenantPreAuthSettings.md
1 parent d4bcaa2 commit 00646e4

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed

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

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -43,43 +43,15 @@ But this feature is currently being deprecated. You can use the related [Set-SPO
4343
Get-SPOTenantPreAuthSettings
4444
```
4545

46-
This example returns all the PreAuthentication settings for the tenant as an object.
47-
48-
**Example Output**:
49-
50-
```powershell
51-
IsDisabled AllowList
52-
---------- ----------
53-
True {{Id: 1cddb994-de09-4ebd-b401-5d68ea148252, IncludedApps: [00000000-0000-0000-0000-000000000000], Exclude...
54-
```
46+
This example returns all the pre-authentication settings for the tenant as an object.
5547

5648
### EXAMPLE 2
5749

5850
```powershell
5951
Get-SPOTenantPreAuthSettings | ConvertTo-Json
6052
```
6153

62-
Gets all the pre auth settings for the tenant. Note that this example uses `ConvertTo-Json` to display the settings in JSON format since more complex Allow or Deny lists may be hard to read as an object.
63-
64-
**Example Output**:
65-
66-
```powershell
67-
{
68-
"IsDisabled": true,
69-
"AllowList": [
70-
{
71-
"Id": "1cddb994-de09-4ebd-b401-5d68ea148252",
72-
"IncludedApps": "00000000-0000-0000-0000-000000000000",
73-
"ExcludedApps": "",
74-
"IncludedFeatures": "",
75-
"ExcludedFeatures": "Download, WebRenderingEmbed"
76-
}
77-
],
78-
"DenyList": [
79-
80-
]
81-
}
82-
```
54+
Gets all the pre-authentication settings for the tenant. Note that this example uses `ConvertTo-Json` to display the settings in JSON format since more complex Allow or Deny lists may be hard to read as an object.
8355

8456
## PARAMETERS
8557

0 commit comments

Comments
 (0)