capabilities.work

Relate Two Catalog Entities

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

Recipe · 4 steps

Relate Two Catalog Entities

with Microsoft Purview · Data Governance Management

Create an entity and relate it to an existing entity.

  1. Create or update the source entity for the relationship.
  2. Read the source entity back by its assigned GUID.
  3. Create a typed relationship connecting the source entity to the target entity using their GUIDs.
  4. Read the relationship back by its GUID to confirm it was created.
What you'll need to have ready
  • authorization: The OAuth2 bearer token value, e.g. "Bearer eyJ0...".
  • entity: The AtlasEntity object to create as the source end of the relationship.
  • relationshipTypeName: The relationship type name, e.g. "process_dataset_inputs".
  • end1TypeName: The type name of the first (source) entity end.
  • end2TypeName: The type name of the second (target) entity end.
  • targetEntityGuid: The GUID of the existing target entity to relate to.
For your developer

Arazzo workflow microsoft-purview:relate-entities, 4 operations: createOrUpdateEntity → getEntityByGuid → createRelationship → getRelationship. Specs on APIs.io.