-
Notifications
You must be signed in to change notification settings - Fork 107
SPManagedMetaDataServiceAppDefault
Yorick Kuijs edited this page Jun 13, 2018
·
11 revisions
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 |
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.
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
}
}
}
- Home
- Getting Started
- Pre-requisites
- Installing the module
- Exporting SharePoint Configuration
- Creating Configuration Files
- Pre-created Examples
- Creating an Azure development environment
- Understanding Resources & Syntax
- Remote PowerShell Authentication
- Contributing to SharePointDsc
- Other useful modules for SharePoint DSC configurations