Microsoft Entra Suite Tech Accelerator
Aug 14 2024, 07:00 AM - 09:30 AM (PDT)
Microsoft Tech Community

File properties information

Copper Contributor

Hi all,

I'm looking for the ways to scan the repo to get the file properties information in any environment using Microsoft solutions.

File properties information such as file name, file type, size, owner, last modified etc

 

Regards

Aaron

1 Reply

hi Aaron,

Assuming that the "any environment" you mentioned here are all Microsoft environments, then there are multiple ways for you to be able to extract this data.

If the files are sitting in Azure File storage then you can use the Azure APIs: https://learn.microsoft.com/en-us/rest/api/storageservices/get-file-properties

If the files are sitting in Microsoft 365, you can use Content Search in the Compliance center: https://learn.microsoft.com/en-us/purview/ediscovery-content-search

If the files are sitting inside Windows 10/11 you can use Powershell and point it to a location and get this data. https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-itemproperty...