My tenant just got the new Communication site template. Thank you @SharePoint
UPDATE! After a lot of waiting and failures with the “Enable-SPOComsite” cmdlet, today i tried the new siteswap “Invoke-SPOSiteSwap” and this is working pretty great, the good part is that if you have built a comsite as a landing page you don’t need to rebuild it. the down part is that in the backend it seems the root site still report back as a classic site, i presume this is in place to make redirections works. Anyways pretty happy with the SiteSwap. 😉
Invoke-SPOSiteSwap -SourceUrl https://jh365dev.sharepoint.com/sites/Contosoportal -TargetUrl https://jh365dev.sharepoint.com -ArchiveUrl https://jh365dev.sharepoint.com/sites/oldrootsite
UPDATE! GREAT NEWS MS just release news this week at MS Ignite 2018, they will native support the conversion of the #rootsite to #comsite with a dedicated PowerShell cmdlet, release date soon. which means we don’t need to hack it anymore, stay tuned for release announcement in your tenant 🙂
As I’ve built numerous Intranet sites both with SharePoint On-premises and SharePoint Online, I want to see if I can use the new template on the root team site.
Because the root SPO site is a team site, it turn out no matter what I did I cannot get rid of the left NAV bar, even though I’ve got all the new webparts and layouts.
Tried with PowerShell, still no luck..
New-SPOSite -Title “Comsite2PowerShell” -Template SITEPAGEPUBLISHING#0 -Url “https://jimmydev.sharepoint.com/sites/Comsite2PowerShell” -Owner jimmy@hangconsult.com -StorageQuota 1000
Until Microsoft release a means to change this, my work around is as follows, remember that this works best for new customer or customer with an empty root SPO site, existing customer need to plan a migration of content.
First, create a new site using the Communication Template
Navigate to the “Save site as a template” page, this page is hidden from the menu so use the following URL
https://tenant.sharepoint.com/sites/comsite/_layouts/15/savetmpl.aspx
Give the new template a name | click OK
When completed click “Solution gallery”
Click on the name of the template to download it, save it to a location on your computer, you’ll need it later
In SharePoint Admin | delete your root site collection | then create a new one | for template for “Custom | Select template later”
After the site has been created, start a new browser tab and navigate to the new site.
It will now ask you to choose a template | click solution gallery |
Now choose to upload your “template.wsp” file you downloaded earlier | then Activate the Solution
Navigate back to the root site | now choose the “Custom” tab | you should see your template | choose the template | then OK
Wait for it
Choose your SharePoint Security Groups | OK
That’s it enjoy your Root site with the brand new communication template, It’s quite beautiful!
Have you had any feedback from Microsoft, or other developers, on this? I’ve come across quite a few people who wished that the root site collection could be converted to a Communication Site, but no one suggested the solution you describe here. Have you encountered any issues since publishing this?
LikeLike
Hi, haven’t heard anything from MS yet, as far as I can see, haven’t encountered any problems yet. It’s a standard site collection with a template, so i presume it should be fine, unless MS does something weird in the backend.
cheers
LikeLike
Hi, I’m having Access Denied when trying to access URL “Save Site as Template” and i create the site and I have full control. Any ideas?
LikeLike
You can access this on modern sites after disabling the “deny add and customize pages” setting for the template site.
This can be done from the Sharepoint Online Management Shell using these commands:
connect-sposervice https://tenant-admin.sharepoint.com
set-sposite https://tenant.sharepoint.com/sites/sitenamehere -denyaddandcustomizepages $false
LikeLike
Guillaume K.
LikeLike
Hi Daniel, I can’t access the page now either, seems like MS removed the permission
LikeLike
Do you have any idea how to get a statement from the Office team or someone else at Microsoft about this? I already posted a query about this to the Communication Sites AMA without getting a response. I’ll try on Thursday when I go to the Seattle area Office 365 Meetup at the Microsoft campus, but the presenters this time are not ones who would have any responsibility for this.
I’d decided since my last posting to go ahead and make a Communication site the root site, so this is frustrating. Of course, I can create a Communication site and treat it as the central site, but then I’ve got this other site, the default root with the best URL, that isn’t doing anything. In fact, I’ll have to ask the sys admin to redirect away from it.
LikeLiked by 1 person
Hi Joseph, i totally agree with you, that’s why I’ve created this post, totally waste to have the root URL do nothing, and in the back it’s just a customized site template, the only difference is that now Microsoft is doing the customization and not some random SP developer.
LikeLike
Just saw this page and this would have been perfect for my new sharepoint site however now i just get access denied. So frustrating. Any chance you can host the template somewhere for us to download?
LikeLike
Good news, this seems to work again today. Maybe MS was updating some thing in the backend, then blocked the page. 😉
LikeLike
Ah still doesn’t seem to be working for me. Any chance you can upload your template for me? 🙂
LikeLike
I still can’t. That’s a good option Alec! I will appreciate if you can do it Jimmy.
LikeLike
Download from here: https://1drv.ms/u/s!Al2vtER-8lVFh8QugURO5mrCPAquIg
LikeLike
Thanks Jimmy!!!!
LikeLike
Do you have a OneDrive for Business Host template
LikeLike
Hi Jimmy –
I need the template but am running into the same error w/ page not available. Could you share the template with me? I can’t access it using the link provided. Do I need permissions to your onedrive? Thanks,
LikeLike
Hi Laurie updated download link: https://1drv.ms/u/s!Al2vtER-8lVFh8QugURO5mrCPAquIg
LikeLike
Pingback: Rollup news from @SharePoint #Communication Sites – My SharePoint Log
I spoke briefly with Mark Kashman (Microsoft Product Manager) at a Seattle Office 365 meetup Thursday, and he suggested simply creating a modern page in the default root site collection to get the Communication Site functionality. I’ve since confirmed that this is indeed possible; the page is a modern page with all the same features, including sections, News, Events, Hero, etc as are available for a Communication Site page.
I’m curious to know if you think this would meet the use case requirements.
LikeLike
Hi Joseph, as far as i can see, in team sites we don’t get the full page width layout.
LikeLike
On my tenant when I do this I only get the simple modern page, not the new one with the Communication Site features like Sections, News, Events, Hero, etc.
Any idea why this is happening?
LikeLike
Hi Paulo, have you turned on “First Release”? Comsites are not 100% GA yet.
LikeLike
The major difference I’m aware of is the that navigation is on the left side (not the top as with Communication sites). And given reliance on left-side navigation a page-spanning banner/hero would not make sense. The hero web part is available, but it does not displace the navigation. In effect, there is a two-column format for the page with a very narrow left column reserved for navigation. Is this what you mean when you say that “we don’t get the full page width layout”? I’m not sure that I consider this important for an intranet or central hub home page. Can you tell me why you do?
LikeLike
Hi Joseph, it’s petty much up too You, I’m a consultant and normally when I build Intranet sites, clients want the whole page width of the landing page for content, and Navigation on Top.
LikeLike
I can see that clients would prefer top navigation and full page width; I would too. But I gather from other comments here that MS is not permitting root site replacement with a Communication Site (too bad!). For my agency, using a modern page won’t be a deal-breaker, but I’ll be watching to see if MS relents.
LikeLike
Unfortunately, it looks like Microsoft has blocked with method now. Even getting an Access Denied on trying to upload the template file to the Solution Gallery.
LikeLike
Too bad, I hope MS will give us the ability to create use “modern” site templates as root, if not give us the ability to choose the full page width column layout in teamsites.
LikeLike
I don’t know if this is still the case, but 1-2 years ago, I heard that using the “Save site as template” was not appropriate anymore because it freezes the definition of the site. Improvements made by Office 365 over time are not applied on sites deployed this way. This is why new provisioning models such as PnP deploys all the artefacts through the API. Since Communication sites are clearly in its infancy, it seems risky to me to freeze its feature set so early!
LikeLike
Hi Francis, not sure about what you are referring too here, as I understand a site definition and a site template is two different thing, a site definition is something created using custom code, that’s why it’s “unsafe” while site template use standard stuff supported by Microsoft. Well unless microsoft removes the base template SITEPAGEPUBLISHING#0 from O365, if this happens then all #comsites in O365 will go down..that will be pretty bad.
LikeLike
Hey,
I received the same Access Denied error following the above tutorial but I got this to work by creating a site using PowerShell.
“New-SPOSite -Title “your title””
I then got asked for the url/owner/storage quota. Hit Return.
Once created, I then uploaded the template from Jimmy (above) and uploaded that to the solutions gallery. Activated the solution then went back to new site homepage and then selected the new coms template and voila!
LikeLike
#awsome
LikeLike
Hi Josh can you create this in the root site collection, i have an error and i cant create it.
LikeLiked by 1 person
Hi Daniel,
Yes we did, we deleted the root site collection then remove-spodeletedsite in powershell which removes it from the recycle bin. We did this so that we can use the name we wanted.
Then follow instructions above – create site collection using powershell – give it url/owner/storage quota etc.
Should work, any more problems let me know.
LikeLike
Hi Jim, Are you available for short term paid gig to implement this change on our new sharepoint online tenant? Please email at addressed attached to this post if you are available.
LikeLike
Hi Mark, happy to know that you’re considering my professional services, but Microsoft is actively blocking us,m from using this workaround in new tenants, I’ll recommend you to wait til after #MSIgnite later this month, hopefully we’ll get some news regarding this.
LikeLike
Hi
I added myself as SCA but there is still access denied to _layouts/15/savetmpl.aspx. Not sure why?
Can you help?
Thanks!
LikeLike
Hi Kong, good news is that your not doing anything wrong, bad news is that Microsoft removed this option sometime after I posted this workaround.
LikeLike
For people getting the Access Denied op the Save site as template link: enable custom script on self-service created sites. This resolves the Access Denied on the SaveTemplate link.
You can do this in admin center, but if you don’t want to wait 24 hours, do it with PowerShell.
https://support.office.com/en-us/article/Allow-or-prevent-custom-script-1F2C515F-5D7E-448A-9FD7-835DA935584F?ui=en-US&rs=en-001&ad=US
Execute this PowerShell command: Set-SPOsite -DenyAddAndCustomizePages 0
Be aware that changing this setting has implications on your whole environment. But you can temporally allow custom scripts, save your site as template, an switch setting back.
LikeLike
I can´t get the custom tab to show up when i have uploaded the .wsp file. Anyone who had the same issue ?
LikeLike
Hi Ludwig, hopefully we might don’t need to apply this hack anymore, check out this session from Microsoft Ignite 2017: https://myignite.microsoft.com/sessions/55145
LikeLike
Same issue for me. All steps above work perfectly fine, until I’m trying to select the uploaded template from the custom tab. I know that this has been announced, but the workaround seems to be out of order.
LikeLike
Hi Jimmy, great post and initial workaround!
I am building a SP intranet for a BU of 80 people and I planned to use the communication site template as a ‘landingspage’ as a quick fix, as it serves our needs and to avoid from writing code (I am a newbie to SP and don’t write code, they made me responsible for this project because I’m young and ‘good with technology’)
Reading in the comments, I understand that it does not work anymore. In your last comment you state ‘pefully we might don’t need to apply this hack anymore’. Do you have any updates on that? Are you referring to the ‘hub site’, and when can we be expecting this?
LikeLike
Hi Koen, “Hub sites” is the right direction yes, but I’m not sure if we can replace the root SC with a hub site yet. The roadmap info says it’s Q1-Q2 2018. I’m trying another fix, maybe it works, if yes I’ll update the post…. 😉
LikeLike
great work around! but the only down site since it’s a template all the features will be locked and if MSFT publishes new features to communication sites then it wont be available.
But still great work around and hope MSFT see’s this blog. I am looking the way to create communication sites from the templates for a new site collection from a long time.
LikeLike
I succesfully appied this workaround and created a Communication site on the root of my SharePoint Online tenant. As others, I’ve experienced the issue with the top navigation on my Communication site. People that didn’t use this workaround also experienced this issue. But as announced, MS fixed it!!
https://techcommunity.microsoft.com/t5/SharePoint/Navigation-on-Modern-Experience-Pages-breaking-Site-Elements/td-p/120997
But my Communication site created on the root still has this issue. When I create a new Communication site using the UI without any workaround (so under the sites managed path) the issue is not there anymore. So this workaround has the negative side-effect that updates (to comm site on root) are not applied. Better not use this.
LikeLike
Hi Bastiaan, thanks for the feedback, not sure about the top navigation issue you’re having as I’m not using that feature. But I can confirm that the regular navigation in #comsite to other sites is not broken, all elements works as expected, all my sites are modern sites, either Team or Com site.
LikeLike
I got a Communication Site to load under my primary tenant (thank you). However, the search function at the top seems to be completely broken. Not sure if the template export/import accounts for mapping that search bar to the right place. My end goal is to have a modern communication site that can search *all* of my tenant sharepoint content by default.
LikeLike
Hi Jeremy as far as I the search box that we see is by default like that, the default place i’ve seen with a search scope all is probably the SharePoint home page or classic search center, drop me an email and maybe we can work it out, cheers
LikeLike
To me it feels like Site-Designs and Site-Scripts are the way to go here – maybe this was the end goal for Microsoft to allow people to create Communication sites based on that same template. Reading the following guide it seems appropriate to me – I just need to confirm the correct TemplateID for a communication site:
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/get-started-create-site-design#use-the-new-site-design
LikeLike
I just followed this solution and it worked great. Few gotchas for me was using powershell set the denyaddandcustomepage 0 flag on the site I was trying to save the template from AND on the root once it was recreated. I kept getting an Access Denied error until I set that flag on the root site.
LikeLiked by 1 person
Pingback: Left navigation intranet is so last year! – François on SharePoint & more
Pingback: Change SharePoint Online root site collection to use the new “Communication Site Template” | 365ForAll
We discussed this with Vesa from the SharePoint engineering team.
They know it is a problem and so.ething they are working on. It is technically a hack and modifying the root to a comminications site is not supported at this time.
He says there are technical reasons why you should not do it as root has some special config which he could not go into. Setting this as a comms site may well break in the future.
LikeLiked by 1 person
Tanx for the update Phillip, we’ll wait and see then..
LikeLike
A simple alternative is to a redirect on the root site to the communication site. The best redirect would be a ‘link to a document’ linking to that comm site homepage. This on you set as the default homepage of the root. Eh voila.
LikeLike
how do you do that? Can you share any how-tos?
LikeLike
I have a classic root in a government space that cannot be changed. I can build communication site collections off that root. So “https://******.sharepoint.com/sites/home” is created as a communication site and much more attractive than building a modern page off the root of a classic site. But now I want the classic to be the root at “https://******.sharepoint.com” without latency on the redirect.
I just opened a question here, but not much response:
https://sharepoint.stackexchange.com/questions/248101/redirect-from-the-root-home-to-a-collaboration-site-home-in-sp-online
Any help would be much appreciated!
LikeLike
I have a classic root in a government space that cannot be changed. I can build communication site collections off that root. So “https://******.sharepoint.com/sites/home” is created as a communication site and much more attractive than building a modern page off the root of a classic site. But now I want the communication site to be the root at “https://******.sharepoint.com” without latency on the redirect.
I just opened a question here, but not much response:
https://sharepoint.stackexchange.com/questions/248101/redirect-from-the-root-home-to-a-collaboration-site-home-in-sp-online
Any help would be much appreciated!
LikeLike
Hi,
I add my commsite template and activated it, but “Custum” tab does not appers on select template page.
LikeLike
Hi Mate, MS just released news this week at Ignite 2018 that they will support native converting of root site to #Comsite, we don’t need to use this workaround in the future. Watch our for release announcement in your tenant. “Soon… was all they said”.
LikeLike
Pingback: Redirection-SharePoint-Online | KTNN SharePoint
Demo of the coming Powershell 🙂 https://twitter.com/dcpadur/status/1044954711349055490
LikeLike
This approach is not working anymore, first time i tried to setup root site as CommSite, i couldent get “Custom” tab for selecting a template, as evtrifonov describes…And on second attempt to create CommSite iam getting error when i try to upload .wsp with custom template to Solution Gallery, i dont have permission, even iam tenant global admin, tried different ways, getting same error…
Microsoft will release new powershell commands for creating CommSite on root, but when? its almost 14 days left of 2018….do we need to wait untinl the last day of month?
LikeLike
I have no idea mate, I’m checking my first release tenant everyday, still no updates, I’ll write a post once I got the chance a test it..;)
LikeLike
I tried this yesterday. (Jan 5, 2018) I had two issues: First, it took a very long time to delete and create the root site. I was getting the following message: “We’re still working on it and it might take 24 hours” It finally did get created though. I think I should have ensured that the site finished getting deleted from the recycle bin before creating it. The next issue was that I am getting “Access Denied” when trying to navigate to _layouts/15/savetmpl.aspx. Fortunately, I was able to download a .wsp from another tenant and use it to create the root site. Hopefully, MS releases the PowerShell command soon. Thank you for your post!
LikeLike
I solved the permission Problem this way:
to get Access to savetmpl.aspx:
Connect-Sposervice -url “https://tenant-admin.sharepoint.com”
Set-sposite “https://tenant.sharepoint.com/sites/sitename” -denyaddandcustomizepages 0
to be able to upload the template to the new site:
Set-sposite “https://tenant.sharepoint.com/” -denyaddandcustomizepages 0
found here: https://albandrodsmemory.wordpress.com/2017/09/06/sharepoint-online-save-as-template-access-denied/
LikeLike
Nice, finally i was able to create CommSite on root level….
SOLUTION: Connect-Sposervice -url “https://tenant-admin.sharepoint.com”
Set-sposite “https://tenant.sharepoint.com/sites/sitename” -denyaddandcustomizepages 0
to be able to upload the template to the new site:
Set-sposite “https://tenant.sharepoint.com/” -denyaddandcustomizepages 0
LikeLike
Any updates to the rollout, we are past the end of 2018!
LikeLike
Not yet unfortunately..
LikeLike
I found this on https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/Build-your-modern-intranet-with-SharePoint-in-Office-365/bc-p/333110#M3323
This was posted yesterday 2/7/2019
Enable-CommSite is not even on the Roadmap, so the likelihood that we’re getting this any time soon is doubtful. I contacted Microsoft Support last month and showed them the Ignite video of it being executed. They have no documentation on it and, after two weeks of escalations, their response was pretty much “we don’t know”.
LikeLike
I changed our Root-Site with this tutorial:
https://www.spjeff.com/2018/12/31/video-create-modern-communication-for-root-site-in-tenant/
Very easy!
Unfortunately, the headers in the menus are not working any more, they will change to URL after saving.
LikeLike
Thanks for the .wsp, I’ve been unable to export the comms site as a template, getting an unspecified error, but have been able to create a modern hub (root) communications site with your template. Cheers!
LikeLike
Microsfot explicitly says you shouldn’t be deleting/replacing the root SC here: https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations#using-modern-experiences-in-the-root-site-collection-of-a-tenant
Caution
It is not supported to delete or replace existing site collection from the root URL of your tenant. You should not in any circumstances delete the root site collection. Technically this can be performed using APIs, but that can cause the tenant to move into inconsistent status.
LikeLike
No new updates, we are almost to the end of March now?
LikeLike
Just got news, the command is now included in lates SPO PowerShell, but the backend feature is not activated yet, hopefully soon.
https://developer.microsoft.com/en-us/sharepoint/blogs/new-sharepoint-csom-version-released-for-sharepoint-online-march-2019/
LikeLike
Followed this again (have done it several times) and ran into an error when trying to create from the newly created & uploaded comm site template.”manifest.xml not found”.
Trying again with Jimmy’s template (linked above) worked fine. So either the saving site as template trick has been blocked by MS by removing the manifest file in the wsp, or it was just a glitch on this occasion.
LikeLike