Skip to content

Commit e1b2563

Browse files
Merge branch 'main' into main
2 parents f8e722d + 12692ae commit e1b2563

File tree

3 files changed

+44
-8
lines changed

3 files changed

+44
-8
lines changed

sharepoint/docfx.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@
4343
"breadcrumb_path": "/powershell/breadcrumb/toc.json",
4444
"feedback_system": "Standard",
4545
"feedback_product_url": "https://github.com/MicrosoftDocs/OfficeDocs-SharePoint-powershell/issues",
46-
"author": "techwriter40",
47-
"manager": "meerak",
48-
"ms.author": "pamgreen",
46+
"author": "samkabue",
47+
"manager": "speedta",
48+
"ms.author": "speedta",
4949
"ms.devlang": "powershell",
50-
"ms.date": "09/08/2021",
5150
"ms.topic": "reference",
5251
"contributors_to_exclude": [
5352
"rjagiewich",

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Connect-SPOService.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ This cmdlet must be run before any other SharePoint Online cmdlets can run.
2020
## SYNTAX
2121

2222
### AuthenticationLocation
23+
2324
```
2425
Connect-SPOService -Url <UrlCmdletPipeBind> [-Credential <CredentialCmdletPipeBind>] [-ClientTag <String>]
2526
[-Region <AADCrossTenantAuthenticationLocation>] [-ModernAuth <Boolean>] [-UseSystemBrowser <Boolean>]
2627
[<CommonParameters>]
2728
```
2829

2930
### AuthenticationUrl
31+
3032
```
3133
Connect-SPOService -Url <UrlCmdletPipeBind> [-Credential <CredentialCmdletPipeBind>] [-ClientTag <String>]
3234
-AuthenticationUrl <String> [-ModernAuth <Boolean>] [-UseSystemBrowser <Boolean>] [<CommonParameters>]
@@ -86,14 +88,14 @@ Connects to a SharePoint Online Administration Center specifying the region.
8688

8789
### EXAMPLE 5
8890

89-
```powershell
91+
```powershell
9092
Connect-SPOService -Credential $creds -Url https://tenant-admin.sharepoint.com -ModernAuth $true -AuthenticationUrl https://login.microsoftonline.com/organizations
9193
```
9294
Connecting to SPO Service with ModernAuth Flag.
9395

9496
### EXAMPLE 6
9597

96-
```powershell
98+
```powershell
9799
Connect-SPOService -Url https://contoso-admin.sharepoint.com -UseSystemBrowser $true
98100
```
99101
Authenticates using the Microsoft Authentication Library (MSAL) and connects to the SharePoint Online Administration Center on successful authentication.
@@ -158,7 +160,7 @@ Accept wildcard characters: False
158160
159161
> Applicable: SharePoint Online
160162
161-
Ensures that SharePoint Online tenant administration cmdlets can connect to the service using modern TLS protocols.
163+
Ensures that SharePoint Online tenant administration cmdlets can connect to the service using modern TLS protocols.
162164
163165
To use it you also need to provide the **AuthenticationUrl** parameter.
164166
@@ -173,6 +175,7 @@ Default value: None
173175
Accept pipeline input: False
174176
Accept wildcard characters: False
175177
```
178+
176179
### -Region
177180
178181
> Applicable: SharePoint Online
@@ -217,7 +220,15 @@ Accept wildcard characters: False
217220
218221
> Applicable: SharePoint Online
219222
220-
Used to authenticate the user using the Microsoft Authentication Library (MSAL).
223+
Used to authenticate the user using the Microsoft Authentication Library (MSAL).
224+
225+
> [!NOTE]
226+
> To avoid adding the `-UseSystemBrowser` parameter every time you run `Connect-SPOService`, you can set a registry key instead.
227+
>
228+
> Set the `UseSystemBrowser` registry key (type `REG_DWORD`) at:
229+
`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPO\CMDLETS\`
230+
>
231+
> If either registry key is set to a non-zero integer value or `-UseSystemBrowser` parameter is set to `true`, authentication flow will use system browser for sign-in.
221232

222233
```yaml
223234
Type: System.Boolean

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,19 @@ Set-SPOContainer [-Identity] <SPOContainerPipeBind>
4949
[-SharingDomainRestrictionMode <SharingDomainRestrictionModes>] [-SharingAllowedDomainList <String>]
5050
[-SharingBlockedDomainList <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
5151
```
52+
5253
### PrincipalOwnerTransfer
5354
```
5455
Set-SPOContainer [-Identity] <SPOContainerPipeBind> -CurrentPrincipalOwner <String>
5556
-NewPrincipalOwner <String> [-WhatIf] [-Confirm] [<CommonParameters>]
5657
```
58+
59+
### RestrictContentOrgWideSearch
60+
```
61+
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-RestrictContentOrgWideSearch <Boolean>] [-WhatIf]
62+
[-Confirm] [<CommonParameters>]
63+
```
64+
5765
## DESCRIPTION
5866

5967
For any parameters that are passed in, the `Set-SPOContainer` cmdlet sets or updates the setting for the active container identified by the parameter `Identity`. The cmdlet throws an error if the identity of an archived container is provided. The principal owner transfer operation is supported only for containers that are user-owned. Attempting to perform this operation on non user-owned containers will result in an error.
@@ -328,6 +336,24 @@ Accept pipeline input: False
328336
Accept wildcard characters: False
329337
```
330338
339+
### -RestrictContentOrgWideSearch
340+
341+
> Applicable: SharePoint Online
342+
343+
Controls whether org-wide content search is enabled for a container.
344+
345+
```yaml
346+
Type: Boolean
347+
Parameter Sets: RestrictContentOrgWideSearch
348+
Aliases:
349+
350+
Required: False
351+
Position: Named
352+
Default value: None
353+
Accept pipeline input: False
354+
Accept wildcard characters: False
355+
```
356+
331357
### -SensitivityLabel
332358
333359
> Applicable: SharePoint Online

0 commit comments

Comments
 (0)