Jan 21 2017 09:45 AM - edited Jan 21 2017 09:51 AM
Ok the scenario is that i used PowerShell Scripting (thanks to the efforts of Erwin!) to create a provisioning template of the 0365-starter-intranet available in the pnp samples. When I upload the xml template and use the schedule job to create a new site based on this template i get the following error "The web template BLANKINTERNET#0 is not available for sites on this tenant." Any suggestions?
Jan 21 2017 11:24 AM
Jan 21 2017 12:03 PM
Hi thanks for the reply. Manually I see only "Publishing Portal" and "Enterprise Wiki"
Jan 25 2017 12:26 AM
SolutionI'm not familiar with the solution you used, but I do know the site definition BLANKINTERNET#0 (Publishing Site) is designed only to be used for creating subsites, not site collections. Does your XML template specify BLANKINTERNET#0 somewhere within its contents? If so you could maybe try to replace it with BLANKINTERNETCONTAINER#0 (Publishing Portal - another site definition) and see what happens.
Jan 25 2017 05:01 AM
Thanks that pointed me in the right direction. However now i am getting the infamous "Microsoft.SharePoint.Client.ServerException: Operation is not valid due to the current state of the object." Almost every time i create a site collection now
Jan 25 2017 12:26 AM
SolutionI'm not familiar with the solution you used, but I do know the site definition BLANKINTERNET#0 (Publishing Site) is designed only to be used for creating subsites, not site collections. Does your XML template specify BLANKINTERNET#0 somewhere within its contents? If so you could maybe try to replace it with BLANKINTERNETCONTAINER#0 (Publishing Portal - another site definition) and see what happens.