How to list/download file blocked by DLP?
Hello. I am developing an application that uses Graph API SDK. The application uses the oauth application access.
I am trying to download through Microsoft Graph SDK an evidence file which was blocked by Microsoft DLP.
So my need is to download files that were blocked.
As i see it is possible to list and download these files if i am logged by user who uploaded this file.
But how to do it if I am logged as application?
Currently if i list files in drive i see files that are not blocked. I would like to see them all (with blocked).
In Microsoft Admin Entra Center my application have
Role: Cloud Application Administrator
Permissions:
Mail.ReadWrite
SecurityEvents.Read.All
SecurityAlert.Read.All
Sites.Read.All
Directory.Read.All
SecurityIncident.Read.All
GroupMember.Read.All
Files.Read.All
Mail.Read
InformationProtectionPolicy.Read.All
Thanks.