Quantcast
Viewing all articles
Browse latest Browse all 2279

New Post: Autospinstaller bypassing managed metadata service application

Sorry for reviving this old post

I have the same issue as well. I need to create a new MMS for use for a different app. Currently AutoSPInstaller will not allow more than 1 MMS created as the function CreateMetadataServiceApp check on the SPServiceInstance type rather than the display name as such
$metadataServiceInstances = Get-SPServiceInstance | ? {$_.GetType().ToString() -eq "Microsoft.SharePoint.Taxonomy.MetadataWebServiceInstance"}

$metaDataServiceAppProxy = Get-SPServiceApplicationProxy | ? {$_.GetType().ToString() -eq "Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy"}
Changing it to the following will solve your pain.
$metadataServiceInstances = Get-SPServiceInstance | ? {$_.DisplayName -eq $metadataServiceName}

$metaDataServiceAppProxy = Get-SPServiceApplicationProxy | ? {$_.DisplayName -eq $metadataServiceProxyName }

Viewing all articles
Browse latest Browse all 2279


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>