Microsoft Purview Data Classification API or PS Command (Activity Explore)

Swahela Mulla 95 Reputation points
2023-08-22T07:31:38.07+00:00

Hello Everyone,

Is there any API or PowerShell command to retrieve the data from Microsoft Purview Data Classification Activity Explore basically I wanted to fetch the sensitivity labels for all files.

We have other APIs but there we need to provide some extra information like Site ID, Drive ID and Item ID

So, I'm checking the way with activity explorer because there is already sensitivity label information is present. can anyone help me on this topic or suggest me alternate solution.

For more information, please refer below link.
https://learn.microsoft.com/en-us/answers/questions/1349904/efficient-retrieval-of-sensitivity-labels-and-asso

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 119.6K Reputation points MVP Volunteer Moderator
    2023-08-22T07:42:01.7366667+00:00

    Sure, there's the Export-ActivityExplorerData cmdlet, as part of the Compliance module. https://www.michev.info/blog/post/4174/fetching-activity-explorer-data-via-the-export-activityexplorerdata-cmdlet

    Microsoft is also working on providing a cmdlet for the Content explorer, should be coming in the next few months.

    1 person found this answer helpful.

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.