Problem: In a Migration project, after backup-restoring MMS Service application, found that the Managed Metadata Service application still referring to the old SharePoint 2010's content type hub URL. Unfortunately, There is no way to update content type hub URL in SharePoint 2013 Managed metadata services!
Solution: Content type hub in SharePoint allows centralized management of content types through Managed metadata service. There is no UI to change content type hub URL in SharePoint 2010 or in SharePoint 2013. However, We can utilize PowerShell to change content type hub URL of managed metadata service. Here is my script:
Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue #Managed Metadata Service Application Name $MMSAppName="Managed Metadata Service" #New location of Content Type Hub $ContentTypeHub ="http://intranet.crescent.com/sites/CtypeHub" #set content type hub powershell Set-SPMetadataServiceApplication -Identity $MMSAppName -HubURI $ContentTypeHub Write-host "Content Type location updated!"You'll be prompted to confirm. Once confirmed, This PowerShell script changes content type hub URL in SharePoint 2013!
You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.