You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example enables the communication site experience at this https://contoso.sharepoint.com site.
51
53
54
+
### Example 2
52
55
53
-
## PARAMETERS
54
-
55
-
### -SiteUrl
56
-
57
-
URL of the site for enabling the modern communication site experience.
58
-
59
-
### -DesignPackageId
60
-
61
-
GUID identifying the [communication site design](https://support.office.com/en-gb/article/what-is-a-sharepoint-communication-site-94a33429-e580-45c3-a090-5512a8070732). This is not a required input. If no input is provided, the topic design will be applied to the new home page. here are the IDs for the supported design packages:
62
-
63
-
1. Topic: 96c933ac-3698-44c7-9f4a-5fd17d71af9e
64
-
2. Showcase: 6142d2a0-63a5-4ba0-aede-d9fefca2c767
65
-
3. Blank: f6cc5403-0d63-442e-96c0-285923709ffc
66
-
67
-
68
-
### STEP BY STEP INSTRUCTIONS
69
-
70
-
1. Install latest SharePoint Online Management Shell (version 8715.1200 or greater) from [here] (https://www.microsoft.com/en-us/download/details.aspx?id=35588). If you have an older version installed, please uninstall it from Windows Add/Remove programs and then install the latest version.
71
-
2. Make sure you have the SharePoint admin credentials for the tenant
72
-
3. Make sure you have the correct root site URL. Typically its https://<tenantname>.sharepoint.com
73
-
4. Copy this block of PowerShell commands into a notepad and fill in the missing details denoted by <>
1. Install latest SharePoint Online Management Shell (version 8715.1200 or greater) from [here] (https://www.microsoft.com/en-us/download/details.aspx?id=35588). If you have an older version installed, please uninstall it from Windows Add/Remove programs and then install the latest version.
67
+
2. Make sure you have the SharePoint admin credentials for the tenant
68
+
3. Make sure you have the correct root site URL. Typically its https://<tenantname>.sharepoint.com
69
+
4. Copy this block of PowerShell commands into a notepad and fill in the missing details denoted by <>
83
70
5. Open SharePoint Online Management Shell from your computer
84
71
6. Execute the PowerShell commands from your notepad
85
72
86
73
87
-
### TROUBLESHOOTING
74
+
**TROUBLESHOOTING**
88
75
89
-
### Error case 1: Wrong credentials
76
+
**Error case 1: Wrong credentials**
90
77
If the SharePoint admin user credentials is wrong or invalid, you will see this error:
91
78
92
79
>*Connect-SPOService : The sign-in name or password does not match one in the Microsoft account system.*
93
80
94
-
### Error case 2: Feature is not yet enabled for your tenant
81
+
**Error case 2: Feature is not yet enabled for your tenant**
95
82
The use of this cmdlet is subject to the feature rollout. If the feature is not yet available for your tenant, the cmdlet will not execute and will show this error:
96
83
97
84
>*Enable-SPOCommSite : The requested operation is part of an experimental feature that is not supported in the current environment.*
98
85
99
-
### Error case 3: Site URL input is not of root site
86
+
**Error case 3: Site URL input is not of root site**
100
87
Currently only the root site of a tenant is supported for this cmdlet. IF the site URL input is wrong, you will see this error:
101
88
102
89
>*Enable-SPOCommSite : The site provided is not the root site collection. Please provide a valid root site URL.*
103
90
104
-
### Error case 4: Site URL input is invalid
91
+
**Error case 4: Site URL input is invalid**
105
92
If the site URL input points to a site that does not exist, you will see the following error message:
106
93
107
94
>*Enable-SPOCommSite : File Not Found.*
108
95
109
-
### Error case 5: Classic publishing feature is currently enabled
96
+
**Error case 5: Classic publishing feature is currently enabled**
110
97
We do not support root site that currently have or have had in the past enabled the classic publishing features. If you see this error, your root site is not eligible for this feature enablement
111
98
112
99
>*Enable-SPOCommSite : The operation cannot be performed because the Publishing feature is enabled on the site.*
100
+
101
+
102
+
## PARAMETERS
103
+
104
+
### -SiteUrl
105
+
106
+
URL of the site for enabling the modern communication site experience. **This is a required parameter**
107
+
108
+
109
+
```yaml
110
+
Type: String
111
+
Parameter Sets: (All)
112
+
Aliases:
113
+
Applicable: SharePoint Online
114
+
Required: True
115
+
Position: Named
116
+
Default value: None
117
+
Accept pipeline input: False
118
+
Accept wildcard characters: False
119
+
```
120
+
### -DesignPackageId
121
+
122
+
GUID identifying the [communication site design](https://support.office.com/en-gb/article/what-is-a-sharepoint-communication-site-94a33429-e580-45c3-a090-5512a8070732). **This is not a required input.** If no input is provided, the topic design will be applied to the new home page. here are the IDs for the supported design packages:
0 commit comments