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

Notifications

Announcements

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,195 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard