Hello, could you try to use the option businessAttributeUpdateBehavior=replace
on your POST requests to update managed attributes? Recently Purview team advised to me to do the steps I share below, and it worked. Sharing with you and hope it will work for you too.
Steps:
- Create your managed attribute in Purview if you have not already: Microsoft Purview -> Data map -> Managed Attributes -> create attribute group (YOUR_ATTRIBUTE_GROUP_NAME) and specify an attribute under the group (YOUR_ATTRIBUTE_NAME)
- Example of an entity POST request should look like:
https://{{YOUR_PURVIEW_ACCOUNT_NAME}}.catalog.purview.azure.com/api/atlas/v2/entity?businessAttributeUpdateBehavior=replace
- Body will have to contain the section for managed attributes. Basic skeleton:
{
"entity": {
"typeName": "ENTITY_TYPE",
"attributes": { ... },
"guid": "ENTITY_GUID",
"relationshipAttributes": { ... },
"businessAttributes": {
"YOUR_ATTRIBUTE_GROUP_NAME": {
"YOUR_ATTRIBUTE_NAME": "VALUE_YOU_D_LIKE_TO_ASSIGN"
}
},
"displayText": "ENTITY_DISPLAY_TEXT"
}
}