The Microsoft Azure Data Catalog .NET Sample Code by Sreedhar Pelluru demonstrates how to register, search, and delete a data asset using the Data Catalog REST API, when using the Service Principal authentication. GitHub code available at https://github.com/Azure-Samples/data-catalog-dotnet-service-principal-get-started