Skip to content

SPManagedMetaDataServiceAppDefault

Yorick Kuijs edited this page Jun 13, 2018 · 11 revisions

SPManagedMetaDataServiceAppDefault

Parameters

Parameter Attribute DataType Description Allowed Values
IsSingleInstance Key String Specifies the resource is a single instance, the value must be 'Yes' Yes
DefaultSiteCollectionProxyName Required String The name of the managed metadata service application proxy used as default column terms set
DefaultKeywordProxyName Required String The name of the managed metadata service application proxy used as default keyword terms set
InstallAccount Write PSCredential POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5

Description

Type: Distributed

Using several managed metadata service instances in a farm requires some configuration, which service application proxy should be used as default for keywords or site collection specific term sets.

This setting has to be configured in conjunction with the SPManagedMetadataServiceApp resource. This resource allows to specify which managed metadata service application proxy should be used as default for these two settings.

Examples

Example 1

This example shows how to deploy the Managed Metadata service app to the local SharePoint farm.

Configuration Example
{
    param(
        [Parameter(Mandatory = $true)]
        [PSCredential]
        $SetupAccount
    )
    Import-DscResource -ModuleName SharePointDsc

    node localhost {
        SPManagedMetaDataServiceAppDefault ManagedMetadataServiceAppDefault
        {
            IsSingleInstance               = "Yes"
            DefaultSiteCollectionProxyName = "Managed Metadata Service Application Proxy"
            DefaultKeywordProxyName        = "Managed Metadata Service Application Proxy"
            InstallAccount                 = $SetupAccount
        }
    }
}
Clone this wiki locally