Do you have a problem with GDPR in O365?
So someone wants all records of them should be removed from Microsoft Exchange or/and Sharepoint?
Importantly we do not take responsibility for using our guide, it might not be the same for you. As there are two different environments and Microsoft 0365 is constantly changing in its environment.
First, you need to be Exchange Administrator
Create a search on https://protection.office.com/
The “name you pick” for the search is very important, so you need to remember it. When the search is completed can take a while you can process. (if you are not sure how to visit Export PST File o365 follow that guide so reach start export then you can stop and go back here.
Now start the Microsoft Exchange Online Powershell Module to connect with PowerShell to your Exchange (if you are not sure how to visit Powershell Connect to office365)
#Then your run
Connect-IPPSSession -UserPrincipalName Your@emailaccount.com -ConnectionUri https://ps.compliance.protection.outlook.com/PowerShell-LiveID -AzureADAuthorizationEndPointUri https://login.microsoftonline.com/common
#With this commmand you get all comliance search
Now the next step is very important you can remember to want you named your search and you can find it in the list you got when you run
New-ComplianceSearchAction -SearchName "name you pick" -Purge -PurgeType softdelete
#softdelete can be recovered
#harddelete can not be recovered
When that’s done you can run
To see status how is it going, is it gone, deletion is done
I hope that will help you with your GDPR in O365 Problem.
If you want to read some about it.