Forum Discussion
Azure Information Protection - How to identify and reassign ownership to files when staff leave?
As an AIP superuser, you will be able to view all protected shares via https://track.azurerms.com/ but as far as I am aware there is no specific search mechanism to identify content which has been effectively orphaned by a departed user.
- Gerry MorleyJul 03, 2020Brass Contributor
PeterRising Thanks for the reply.
I got told on answers.microsoft.com
"you may use the below cmdlet to get label and protection status for all files in a folder, and export the result to a CSV file, then you can filter the RMSOwner and RMSIssuer in the CSV file.
Get-AIPFileStatus -Path \\***\***\ | Export-Csv C:\***\AIP-status.csv"
Though I haven't tested this - it sounds like this may cover part (i)
So the next step, part (ii), would be then to figure out how to take that output and use it as input to a command to reassign ownership (if such is possible)?
- kallaswamyMar 09, 2023
Microsoft
PeterRising: Check this out: https://learn.microsoft.com/en-us/powershell/module/azureinformationprotection/get-aipfilestatus?view=azureipps