Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

5 thoughts on “Get/Set Managed Metadata Column Values in SharePoint using PowerShell

  • Can you provide script to read MMS field value for SharePoint Online pls.

    Reply
  • I am getting the below error when I run the code:

    new-object : A constructor was not found. Cannot find an appropriate
    constructor for type
    Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection.

    The error is at the below line:

    #Create a Term field value collection
    $MMSValueCollection = new-object Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection($MMSField)

    Reply
    • I had the same error. In my case it was an incorrect field name in $MMSField.

      Reply
    • Hi,
      You need to use the ‘Title’ Property and not the ‘InternalName’ Property of the field

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *