I'm trying to add a term store administrator using PowerShell. I'm logged on to one of the farm web servers with a farm administrator account (also happens to be a domain admin account too). I'm running the following PowerShell:
$ts = Get-SPTaxonomySession -Site https://test.splab.local $termStore = $ts.TermStores["Tenant Taxonomy Proxy"] $termStore.AddTermStoreAdministrator("splab\user1")
And I'm getting the following error:
Exception calling "AddTermStoreAdministrator" with "1" argument(s): "Attempted to perform an unauthorized operation"
I'm guessing this is some sort of permissions problem but no idea what.
Supplementary details: - SharePoint 2010 on top of Windows 2008 - Configured the web app to be multi-tenanted - Using Claims Based Authentication with a custom claims provider