how can i get guids of all the assests we have scanned in microsoft purview through api

Vivek Vijay Patil 0 Reputation points
2024-03-09T11:53:42.7433333+00:00

we have scanned multiple assets in Microsoft purview from different sources(azure_services,databricks table) now i want all those assets in a table (in databricks) to analyze my resources and cost management, I need a API that gives me a list of guid of that entity/assets that are scanned  but every time we call API's we only get guid of built-in entities, not that which we have scanned.

Microsoft Security | Microsoft Purview
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2024-03-11T19:42:18.5133333+00:00

    Hello Vivek Vijay Patil,

    Welcome to the Microsoft Q&A forum.

    To retrieve a list of GUIDs for the scanned assets in Microsoft Purview, you can utilize the REST API. The below Techlink documents have the details on how to use the REST API in Python.

    https://techcommunity.microsoft.com/t5/microsoft-purview/exporting-microsoft-purview-data-assets-using-the-rest-api/m-p/3948965

    https://techcommunity.microsoft.com/t5/azure-architecture-blog/exploring-purview-s-rest-api-with-python/ba-p/2208058

    I hope this helps. Please let me know if you have any further questions.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.