Friday, June 4, 2010

Error trying to move the Choice Lists to Managed Meta data

I was trying to convert my Choice List user profile properties from my upgraded SSP database in SharePoint 2010.

I was following the instructions in Perform post-upgrade steps for an in-place upgrade (SharePoint Server 2010)

When I ran the Move-SPProfileManagedMetadataProperty –ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> -Identity <Identity> [-AvailableForTagging Yes] [-TermSetName] command, I was getting the following exception:

Move-SPProfileManagedMetadataProperty : No User Profile Application available to service the request. Contact your farm administrator. At line:1 char:38

+ Move-SPProfileManagedMetadataProperty <<<<  -ProfileServiceApplicationProxy e4f3ce39-864d-4735-87ee-82cd8545236f -Identity <id> -AvailableForTagging -TermSetName Practice   + CategoryInfo          : InvalidData: (Microsoft.Offic...ProfileProperty: SPCmdletMigrate...ProfileProperty) [Move-SPProfileManagedMetadataProperty] , UserProfileAppl...ilableException    + FullyQualifiedErrorId : Microsoft.Office.Server.UserProfiles.PowerShell.SPCmdletMigrateDataForOneTaxonomicProfileProperty

I checked the ULS log and found I was actually getting

Exception occured while connecting to WCF endpoint: System.ServiceModel.Security.SecurityAccessDeniedException

Turns out the reason for that was that I needed to provide the right permissions for the User Profile service to the user executing the command.


No comments: