Skip to content

Commit 3989692

Browse files
authored
Update modern-experience-customizations-provisioning-sites.md (SharePoint#5917)
- Fixed typo - Fixed sample http format
1 parent 16553d2 commit 3989692

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/solution-guidance/modern-experience-customizations-provisioning-sites.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Provisioning "modern" team sites programmatically
33
description: Provision a team site from the UI or by using PnP CSOM Core or PnP PowerShell.
4-
ms.date: 6/14/2020
4+
ms.date: 6/20/2020
55
localization_priority: Priority
66
---
77

@@ -51,7 +51,7 @@ The URI of the "modern" team site is determined by the **mailNickname** paramete
5151

5252
The following would create a Microsoft 365 group and an associated "modern" team site with a URL of ```https://[tenant].sharepoint.com/sites/mymodernteamsite```
5353

54-
```
54+
```http
5555
POST https://graph.microsoft.com/v1.0/groups
5656
Content-type: application/json
5757
Content-length: 200
@@ -161,7 +161,7 @@ o365 spo propertybag list -u $siteUrl
161161

162162
"Modern" team sites can be created programmatically by creating an [Microsoft 365 group](https://developer.microsoft.com/graph/docs/api-reference/v1.0/resources/group) using the Microsoft Graph. In fact, when you create a Microsoft 365 group, a "modern" team site is automatically provisioned for the group. The "modern" team site URI is based on the **mailNickname** parameter of the Microsoft 365 group and has the following default structure.
163163

164-
```
164+
```http
165165
https://[tenant].sharepoint.com/sites/[mailNickname]
166166
```
167167

@@ -219,7 +219,7 @@ Connect-PnPOnline -Url https://contoso-admin.sharepoint.com
219219
New-PnPSite -Type Team -Title "Awesome Group" -Description "Awesome Group" -Alias "awesome-group"
220220
```
221221

222-
#### Provision a modern teamsite using SharePoint Online Management Shell or PnP PowerShell
222+
#### Provision a modern team site using SharePoint Online Management Shell or PnP PowerShell
223223

224224
It is also possible to create a modern site which is not connected to a Group using PowerShell. Either by using the PnP PowerShell cmdlets or the SharePoint Online Management Shell.
225225

0 commit comments

Comments
 (0)