Skip to main content

SharePoint Online - create new subsite error

Trying to create a new sub-site using our custom template received an error, MobileExcelWebAccess Feature Site Collection is not enabled. See captured screen below. 20160810.KING.NET.SharePoint.Error Microsoft actually posted a blog about "Depreciation of Custom Code in Sandboxed Solutions". I don't know about you but I did not get this notice. Anyway, they basically disabled this feature for custom template without providing alternative solutions. I have provided a step-by-step guide on how to enable it but note Microsoft highly recommended to use their existing template and work your way to support project needs. First two steps, download and install these tools. 1) Install SharePoint Online Management Shell from the below download link https://www.microsoft.com/en-us/download/details.aspx?id=35588 2) Install The SharePoint Online Client Components SDK from the below download link https://www.microsoft.com/en-in/download/details.aspx?id=42038 Double check if you have a SharePoint permission to access the site. This is to make sure the username and password that you will use has permission. Once completed, search for Windows Powershell ISE, right click on to run as Administrator. Use the following script below to execute. Change the SharePoint admin link using your own e.g I use https://KINGdotNET-admin.sharepoint.com -credential officeadmin@king.net. Simply change KINGdotNET using your domain and the username. Two lines at the end, you need to change "YourPassword" with your account password with permission to access the site.
Connect-SPOService -Url https://KINGdotNET-admin.sharepoint.com -credential officeadmin@king.net $host.Runspace.ThreadOptions = "ReuseThread" #Definition of the function that allows to enable a SPO Feature function Enable-SPOFeature { param ($sSiteColUrl,$sUserName,$sPassword,$sFeatureGuid) try { #Adding the Client OM Assemblies Add-Type -Path "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #SPO Client Object Model Context $spoCtx = New-Object Microsoft.SharePoint.Client.ClientContext($sSiteColUrl) $spoCredentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($sUsername, $sPassword) $spoCtx.Credentials = $spoCredentials Write-Host "----------------------------------------------------------------------------"  -foregroundcolor Green Write-Host "Enabling the Feature with GUID $sFeatureGuid !!" -ForegroundColor Green Write-Host "----------------------------------------------------------------------------"  -foregroundcolor Green $guiFeatureGuid = [System.Guid] $sFeatureGuid $spoSite=$spoCtx.Site $spoSite.Features.Add($sFeatureGuid, $true, [Microsoft.SharePoint.Client.FeatureDefinitionScope]::None) $spoCtx.ExecuteQuery() $spoCtx.Dispose() } catch [System.Exception] { write-host -f red $_.Exception.ToString() } } #Required Parameters $sSiteColUrl = "https://KINGdotNET.sharepoint.com/proposalservices" $sUserName = "officeadmin@king.net" $sFeatureGuid= "e995e28b-9ba8-4668-9933-cf5c146d7a9f" $sPassword = Read-Host -Prompt "Enter your password: " -AsSecureString $sPassword=convertto-securestring "YourPassword" -asplaintext -force Enable-SPOFeature -sSiteColUrl $sSiteColUrl -sUserName $sUserName -sPassword $sPassword -sFeatureGuid $sFeatureGuid
  If you execute the script without error, you should be able to create a sub-site using a custom template.

I hope this save you some time. KINGdotNET
Source: http://www.king.net/sharepoint-online-create-new-subsite-error/

Popular posts from this blog

Alternative Social Networks

If you are planning to create your social network e.g. similar to Facebook. Here's a short list of alternative software's:

Open Source and Free​
http://buddypress.org/ - Wordpress (Open Source and Free)http://elgg.org/ - (Open Source and Free)Commercial Social Networks software
http://www.socialengine.com/ ($299 Stand Alone, $29/mo Cloud)http://www.jomsocial.com/ (run with Joomla, need to know CMS)http://www.boonex.com/ (very expensive, $399 for Standard)http://www.anahitapolis.com/http://www.oxwall.org/http://sharetronix.com/http://www.moosocial.com/http://www.jcow.net/http://phpdolphin.comhttp://www.grou.ps (from free to Commercial, I left my networks and they are selling it http://www.phpfox.com/ (I used this before, it's hard to maintain. I moved to NING but left too after it was sold to another company)http://www.ning.com (I don't recommend using this service, it's hard to export your data when it's time to move)Something to check when selecting your next soc…

Frequent Account Lockout in Active Directory

I have a user in Windows Pro 7, and Windows Server 2003 environment that is frequently account locked out. I tried many different scenarios to resolve this account lockout issue, from resetting his password, changing a new password, remove and re-join the domain, rebooting the workstation and active directory servers.

I tried to use the command prompt utility to run "rundll32.exe keymgrdll, KRShowKeyMgr" (case sensitive) to delete the account in Windows 7 password cache, and still no luck.

Still searching for answer ... Let me know if you encounter a similar issue in Windows Pro 7 and Windows Server 2003.

Continue reading updated post here:
http://www.whaddya.com/2011/09/windows-needs-your-credentials.html

Example of Out of Office Reply for Terminated Employee

This is a sample message that I used for terminated employees, unless HR staff specified a different message.
=== Example for KING.NET Employee === John Doe (employee or consultant) is no longer with KING.NET effective June 1, 2008 (termination date). For matters relating to "Project Name here" please direct your concerns to John Smith at johnsmith@king.net (Manager or Supervisor). For all other matters, please direct your email to Mary Smith HR at marysmith@king.net.
Please call our main office 703-345-6789 if you have other concerns.
Thank you.
=== end of message ===