Streamlining Azure Purview Asset Classification with Automation

The Team was working on a data governance requirement. It required the Team to classify the assets as a “Dimension Table” or a “Transaction Table” based on the asset name. They were using Azure Purview as the data governance tool. However, it was a hectic task to follow the same steps and extremely monotonous to do the same work repeatedly. Therefore, we believed automating it would help speed up the process.

The Team used PyApacheAtlas to automate the classification of an asset. A Python SDK is used to perform the most common operations of Azure Purview programmatically. One can follow the steps below to classify an asset based on the asset name.

Step 1 – Establish a Connection

Below is the function to classify the assets as a “Dimension Table” or a “Transaction Table” based on the asset name. It fetches all the asset details in a particular collection and retrieves the asset name to classify.

CLIENT._classify_entity_adds method is used to update all the entities with the provided classifications.

get_all_entities_in_collection function is used to retrieve all entities in the specified collection.

The parameters are Collection-friendly names, typically a 6-letter pseudo-random string such as “kd2cbh,” which can be obtained in the purview portal.

Conclusion:

It helped us achieve the classification of assets in an efficient manner and removed the manual efforts.

“TekLink’s team exceeded Kellogg Latin America’s expectations with the implementation of Anaplan. Not only their diligence and technical mastery were evident, but also provided critical and out-of-the-box solutions to meet the project’s criteria and expand its scope.”
Francisco Ibarra
Francisco Ibarra

Sr. Manager

“TekLink provided worry free BEx to AO Migration by analyzing and converting our 500+ BEx workbooks to Analysis for Office while also increasing adoption by running power user workshops.”
Lakshmi Thota
Lakshmi Thota

Sr. Manager

"We partnered with TekLink based upon a previous positive experience where they did a great job for us as well as hearing positive feedback about their excellent level of service. We’ve also interviewed many of their experts and consistently found their candidates to be the most technically sound with excellent BW and HANA knowledge above and beyond that of their competitors. Teklink has certainly helped us to stabilize and improve the reliability of our BI operations"
Patrick Bachman
Patrick Bachman

IT Architect

Contact Us to know more