Upgrade Managed Metadata Service Application to SharePoint 2013

Currently I am working on SharePoint 2010 to SharePoint 2013 migration. I want to upgrade the Managed Metadata Service Application to SharePoint 2013. I have detached the Managed Metadata service application database from SharePoint 2010 server and moved it to SharePoint 2013 server. I have attached the database in SharePoint 2013 server. To upgrade the managed metadata service application we have to perform the following steps in SharePoint 2013 server.

  1.     Create a managed metadata service application and upgrade the database.
  2.      Create a new service proxy and add it to the default proxy group.

In this blog you will see how to upgrade managed metadata service application to SharePoint 2013 using PowerShell.

Open SharePoint 2013 Management Shell as administrator and execute the following script.

$applicationPool = New-SPServiceApplicationPool -Name MMSApplicationAppPool -Account DC07\SPFarm

  • “MMSApplicationAppPool” – Specifies the new application pool name
  • “DC07\SPFarm” – Specifies the credentials that will be the identity of the new application pool. 

$mms = New-SPMetadataServiceApplication -Name 'MMS Application' -ApplicationPool $applicationPool -DatabaseName 'MMS_SharePoint2010'

  • “MMS Application” – Specifies the service application name.
  • “MMS_SharePoint2010” – Specifies the database name (taken from SharePoint 2010 server and attached in 2013 server). 

New-SPMetadataServiceApplicationProxy -Name 'MMS Application' -ServiceApplication $mms -DefaultProxyGroup

  • “MMS Application” – Specifies the service application proxy name. 

Upgraded managed metadata service application contains all the termstores and termsets with same ID's. 

Note: Make sure you have required memberships to perform this activity.
 
Ebook Download
View all
Learn
View all