Change Managed Metadata Database in SharePoint

If you’re using the termstore in SharePoint you might know that these data are stored in the managed metadata service application. If you need to change the managed metadata database for this service application, then you can use one easy Powershell Script. I used it in order to migrate the terms from SharePoint 2013 to SharePoint 2019.

$app = Get-SPServiceApplication -name "Managed Metadata Service"
Set-SPMetadataServiceApplication -Identity $app -Databasename "SP19_INT_Managed_Metadata"

Get-SPDatabase -Identity SP19_INT_Managed_Metadata

The article or information provided here represents completely my own personal view & thought. It is recommended to test the content or scripts of the site in the lab, before making use in the production environment & use it completely at your own risk. The articles, scripts, suggestions or tricks published on the site are provided AS-IS with no warranties or guarantees and confers no rights.

Karsten Schneider
About Karsten Schneider 302 Articles
He is Consultant for SharePoint Solutions for collaboration, communication and business processes. He provides his customers applications based on standard features as well as development or combining the power of several microsoft tools like Dynamics CRM. In his free time he tries to collect tipps and worthy experience in this blog.

Be the first to comment

Leave a Reply

Your email address will not be published.