Skip to content

Commit e708aeb

Browse files
authored
Merge pull request MicrosoftDocs#961 from expiscornovus/patch-3
Update Set-SPOSiteOffice365Group.md
2 parents 772dec3 + 23745db commit e708aeb

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Connects a top-level SPO site collection to a new Office 365 Group. You must be
3030
> [!IMPORTANT]
3131
> This cmdlet is currently in preview and is subject to change. It is not currently supported for use in production environments.
3232
33-
If the hub site doesn’t exist, this cmdlet returns a “File not found” error.
33+
If the site doesn’t exist, this cmdlet returns a “File not found” error.
3434

3535
## EXAMPLES
3636

@@ -46,6 +46,18 @@ Set-SPOSiteOffice365Group `
4646
-Classification "Highly Confidential" `
4747
```
4848

49+
### Example 2
50+
51+
This example creates a new Office 365 Group named "classicsite" and connects site collection https://contoso.sharepoint.com/sites/classicsite to it. It will keep the old home page from the classic site.
52+
53+
```
54+
Set-SPOSiteOffice365Group `
55+
-Site https://contoso.sharepoint.com/sites/classicsite `
56+
-DisplayName "Classic Site" `
57+
-Alias "classicsite" `
58+
-KeepOldHomepage `
59+
```
60+
4961

5062
## PARAMETERS
5163

@@ -170,4 +182,4 @@ Position: Named
170182
Default value: None
171183
Accept pipeline input: False
172184
Accept wildcard characters: False
173-
```
185+
```

0 commit comments

Comments
 (0)