Has anyone ever successfully set the default value of a managed metadata (single select) column in a SharePoint library/list via Power Automate/REST API?
I tried the following in Power Automate:
_api/web/lists/getbytitle('Test_ContentTypeAutomation')/fields/getbytitle('Department-name')
body: { '__metadata': { 'type':'SP.Taxonomy.TaxonomyField' }, 'DefaultValue': 'HR|d106fc07-5f11-43ca-995f-6aae1ea' }
But I got a "parameter __metadata does not exist in method GetByTitle"
Thanks, Sylvie