web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint Managed Met...
Power Automate
Answered

SharePoint Managed Metadata

(0) ShareShare
ReportReport
Posted on by 2
Hi all,
 
I'm triying to create a flow that update the value of a managed metadata column in a file, copiying the values form another, and its not working in anyway, anyone knows how do to work it??
 
Basic details:
- Managed Metadata Column created at Collection level.
- Use a taxonomy term group created at Collection level.
- Terms do not have any child terms (all of them at firs level).
- Column allow multiple selection.
- Column Name "Region-Country"
 
Previous principal trys:
1. Save values in a variable using "Append to array variable" > Update values using "Send an http request to sharepoint"
- "Append to array variable" (variable name "Region-Country Array"): 
{
"Label": "Term Label",
"TermGuid": "Term Guid",
"WssId": -1
}
"Send an http request to sharepoint":
- Methoth: POST
- Uri: _api/web/lists/getbytitle('Released Documents')/items(itemid)
- Headers: 
{
"Accept": "application/json;odata=verbose",
"Content-Type": "application/json;odata=verbose",
"If-Match": "*",
"X-HTTP-Method": "MERGE"
}
- Body: 
{
"Region_x002d_Country": {
"__metadata": { "type": "Collection(SP.Taxonomy.TaxonomyFieldValue)" },
"results": "Region-Country Array"
}
}
 
2. Update values using "Send an http request to sharepoint"
- "Send an http request to sharepoint":
- Methoth: POST
- Uri: _api/web/lists/getbytitle('Released Documents')/items(itemid)
- Headers: 
{
"Accept": "application/json;odata=verbose",
"Content-Type": "application/json;odata=verbose",
"If-Match": "*",
"X-HTTP-Method": "MERGE"
}
- Body:
{
"Region_x002d_Country"": {
"__metadata": { "type": "SP.Taxonomy.TaxonomyFieldValue" },
"Label": "Spain (ES)",
"TermGuid": "97e2ec89-f748-4e85-9ca7-0c3606e8c4ca",
"WssId": -1
}
}
 
3. Update values using "Send an http request to sharepoint" using column id name
- "Send an http request to sharepoint":
- Methoth: POST
- Uri: _api/web/lists/getbytitle('Released Documents')/items(itemid)
- Headers: 
{
"Accept": "application/json;odata=verbose",
"Content-Type": "application/json;odata=verbose",
"If-Match": "*",
"X-HTTP-Method": "MERGE"
}
- Body:
{
"j5f9baed4cd144e4aad37baf4508fd95"": {
"__metadata": { "type": "SP.Taxonomy.TaxonomyFieldValue" },
"Label": "Spain (ES)",
"TermGuid": "97e2ec89-f748-4e85-9ca7-0c3606e8c4ca",
"WssId": -1
}
}
 
 
Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,874 Most Valuable Professional on at
     
    You can use the validateUpdateListItem method for this. In that approach you can use the Label|TermGuid format as the value.
     
    In that method you don't have to specify any metadata, which probably makes it a bit easier.
     
    Below is an example
     
    {
      "formValues":[
         {
           "FieldName":"Region_x002d_Country",
           "FieldValue":"Netherlands|2aff24c5-f161-4f54-a0bd-dc09b1b677be"
         }
       ]
    }
     
     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,005

#2
Valantis Profile Picture

Valantis 825

#3
Haque Profile Picture

Haque 619

Last 30 days Overall leaderboard