capabilities.work

Classify a Data Asset Entity

A 4-step recipe with Microsoft Purview. We can help you get access.

Recipe · 4 steps

Classify a Data Asset Entity

with Microsoft Purview · Data Governance Management

Create a catalog entity and apply a classification to it.

  1. Create or update the data asset entity. Purview matches on the supplied guid or on unique attributes such as qualifiedName.
  2. Read the created entity back by its assigned GUID to confirm it exists.
  3. Attach the requested classification to the entity, propagating it according to the classification's defaults.
  4. List the classifications on the entity to verify the new one is present.
What you'll need to have ready
  • authorization: The OAuth2 bearer token value, e.g. "Bearer eyJ0...".
  • entity: The AtlasEntity object to create or update (typeName + attributes).
  • classificationTypeName: The classification type name to apply, e.g. "MICROSOFT.PERSONAL.EMAIL".
For your developer

Arazzo workflow microsoft-purview:classify-entity, 4 operations: createOrUpdateEntity → getEntityByGuid → addEntityClassifications → listEntityClassifications. Specs on APIs.io.