Configure the Metadata Service Accounts

Scenario/Problem: You need to configure the service accounts for the metadata application service.

Solution: Use the Set-SPMetadataServiceApplication cmdlet with the account parameters.

The Metadata Service Application has four service account setting parameters:

AdministratorAccount

FullAccessAccount

RestrictedAccount

ReadAccessAccount

When setting one of these parameters, the others are removed. Therefore, setting all account parameters at the same time is recommended, as shown in Listing 17.3.

Listing 17.3. Configuring the Metadata Service Accounts

Set-SPMetadataServiceApplication -Identity "Managed Metadata Service"-AdministratorAccount "SP\Administrator" -FullAccessAccount"SP\MDSFullAccess" ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.