Post by: Oliver Wirkus
Posted on: 10/3/2016 10:34:00 PM
Categories: Office 365;PowerShell;SharePoint
Description: How to activate a hidden feature in SharePoint online
Recently I was faced with an error message in our SharePoint online tenant when trying to activate the Community Site feature. The error message looked like this Site The Site scoped feature being activated has a dependency on hidden Site Collection scoped feature 'FeatureDefinition/15/4326e7fc-f35a-4b0f-927c-36264b0a4cf0' (ID '4326e7fc-f35a-4b0f-927c-36264b0a4cf0'). Hidden features cannot be auto-activated across scopes. There may be one or more visible Site Collection scoped features that auto-activate the dependent hidden feature. Obviously, a feature was missing, but the error message did not tell what feature exactly was missing. Only the GUID of the feature was displayed. To solve this problem, the SharePoint Online Management Shell can be used. If this helpful shell has not been installed, you can download the installer from this site https//www.microsoft.com/en-ca/download/details.aspx?id=35588 After the shell has been installed, be sure to run it as an Administrator! To activate a feature by it's feature ID, you can use this script $$programFilesDirectory = [environment]getfolderpath("programfiles") add-type -Path $programFilesDirectory'\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.SharePoint.Client.dll' Write-Host 'Enter credentials and site URL' $siteurl = Read-Host "Site Url" $featureGUID = Read-Host "GUID of feature" $username = Read-Host "User Name" $password = Read-Host -AsSecureString "Password" [Microsoft.SharePoint.Client.ClientContext]$ClientContext = New-Object Microsoft.SharePoint.Client.ClientContext($siteurl) $ClientContext.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password) $site = $ClientContext.Site; $feature = new-object System.Guid $featureGUID $site.Features.Add($feature, $true, [Microsoft.SharePoint.Client.FeatureDefinitionScope]None); $ClientContext.ExecuteQuery(); Write-Host 'Feature enabled' Simply copy and paste this script to the SharePoint Online Management Shell and run it. Be sure to enter the the site URL, the GUID of the feature and proper credentials. Usually it will take a little time (about 10-15 seconds) for SharePoint online to activate the feature. If you do not get an error message (and see 'Feature enabled'), the feature should have been activated. Post by: Briana Lau
Posted on: 9/30/2016 11:38:00 PM
Categories: Business;Azure;Office 365
Description: It's as easy as flipping a switch. Migrate your Exchange, SharePoint and Skype for Business into the Canadian Datacentres for free before October 31, 2016. Find out how!
It's a great time to think about migrating your existing US Cloud Tenancies to Microsoft Canada's datacentres! From now until the end of October 31, 2016 cross-tenancy migrations will be complimenatarily provided through Microsoft to clients on EA licenses. It's as simple as flipping a switch! If you choose to take advantage of this free migration, Microsoft will do the work for you within the next two years - just as long as you meet the October 31st deadline. However, if you can't wait two years to make the switch, miss the deadline or hold an Education EA SKU, you can rely on a migration partner to plan and migrate your existing Exchange Online, SharePoint Online and Skype for Business workloads to the Canadian datacentres in less than a week! Since the opening of the Canadian datacentres, Softlanding has facilitated the migration of Exchange, SharePoint and Skype for Business workloads for many enterprise clients, public sector organizations and school districts. The cost-benefit of engaging with a trusted Cloud Partner can ensure your migration project will be hassle-free with a clear directional goal in reducing down-time and maximizing productivity in the Cloud. The many advantages of moving to the Canadian Cloud extend past organizational cost savings and data sovereignty - it provides a stepping stone into using technology-as-a-service - paying for the services you actually consume. For more information, read through Microsoft's general FAQ regarding Data migrations or reach out to us to help you plan your migration to the Canadian Cloud.