Forum Discussion
Powershell - Track/Revoke?
Hi, anyone using PowerShell with Purview to try to grab Tracking information for files? In order to do so, I need CONTENTID for the file in question.
However, when I run Get-AipServiceDocumentLog, it only returns history previous to 2018, even though I have made a ton of Labeling on documents since then.
To add to the mystery - I can run Get-AipServiceUserLog and get the "actions" and Content-IDs within this call (meaning - I have my labeling and viewing data for my current actions). HOWEVER, this log does not tell me "which file" it actually is - it only gives me the Content-ID, and the follow-up call Get-AipServiceTrackingLog doesn't let me know which file it is either.
SO, I guess I am wondering - is there some higher-level call (or updated call) that will grab CONTENTIDs for file (or all files, or). Or is there a call I can use to pass in CONTENTID whereby it will return the Filename, etc?
Anyone doing tracking and such in Purview?