Thank you big time for this one, worked perfectly for me.
@bushayijadavid8032 жыл бұрын
======Current script using an account with MFA==== Import-Module ExchangeOnlineManagement Connect-IPPSSession New-ComplianceSearchAction -SearchName "Name of the search" -Purge -PurgeType HardDelete
@pratyay922026 күн бұрын
Thank you so much for this video
@W.Wallace73 Жыл бұрын
Really good content! Thank you! I have a similar situation, but in our case my users should file the emails into our DMS, so my question is how can I determinate what emails have been filed?
@SC_5447 ай бұрын
Hi, Is there a way we can do this without utilizing the core discovery to save time?
@RoyLomeАй бұрын
where do I run the script? on my laptop or from the portal
@DMBTravels20232 жыл бұрын
Hello Liam - Do you know how to delete emails from the users mailbox even if they transfer it to PST? like steps? should I exclude the user to retention hold then purge it?
@liams-tech2 жыл бұрын
Hi Jeem, I'm not entirely sure, the method above would delete the emails from the server and any imap mail clients, but if they have already exported to PST it is a lot harder to remove, it's effectively a offline zip file with the email(s), if you manage the clients device you can stop them from creating PSTs via Group Policy, if you don't manage the device you can create conditional access policies to only allow email access on company devices, however these are proactive measures, if someone already has it, it's very hard to delete the email from PST file. Hope this makes sense!
@malyalasantoshreddy72382 жыл бұрын
No option to delete if they move to psts
@musgrove19672 ай бұрын
YOU are my FU@king HERO!
@neena7H3 ай бұрын
how can we audit this activity? where can we see it as an activity?
@MrTjurk2 жыл бұрын
What value one must enter for ConnectionUri?
@lucasgrzybowski13103 жыл бұрын
Great job! Works!!!
@liams-tech3 жыл бұрын
No worries, thanks!
@sujiththyagaraja86193 жыл бұрын
Thank you 🙏
@imranjaved7162 жыл бұрын
Where is the script. I Dont see it in description
@liams-tech2 жыл бұрын
Script is on the website, link in description
@liams-tech Жыл бұрын
The Powershell script in the video uses legacy auth and no longer works, i've updated the script onto my blog. Rest of the steps remain the same.
@sgcatr Жыл бұрын
I have been using Microsoft defender for six months, and I never saw a section as Discovery, but explorer. Are you sure the remaining steps are the same?
@sachinprasad36423 жыл бұрын
Hi, By doing this will this delete email from non Office 365 mailbox also ex. Gmail / Yahoo / or other domain? There are inquiry that they sent unwanted email and wants to recall it...? will this work for non Office 365 as well
@liams-tech3 жыл бұрын
Hi, this will only work on your Office 365 organisation
@danielvenkat5405 Жыл бұрын
thanks brother
@MrTjurk2 жыл бұрын
How to delete within the UI, not in powershell?
@liams-tech2 жыл бұрын
At the time of writing, you can't. They can only be deleted via powershell
@MrTjurk2 жыл бұрын
@@liams-tech Thanks. What value one must enter for ConnectionUri?
@peterc76852 жыл бұрын
is there a permanent/hard delete option so it's unrecoverable?
@liams-tech2 жыл бұрын
"-PurgeType HardDelete" will pernamently remove it from mailboxes, SoftDelete moves it to deleted items
@peterc76852 жыл бұрын
@@liams-tech Thanks!!
@liams-tech2 жыл бұрын
@@peterc7685 No problem!
@johnturner31662 жыл бұрын
wont work without basic authentication being enabled fyi
@liams-tech2 жыл бұрын
Yeah, Basic Auth is scheduled to be turned off for all tenants next month, I'll create a new video soon using EXOv2 module.
@sherbornegirlsschool14562 жыл бұрын
I followed the steps, but the mails aren't deleted.
@liams-tech2 жыл бұрын
How long have you given it? Depending on the size of the results it can take an hour or so. The more mailboxes and results the longer it will take
@MrZ____2 жыл бұрын
@@liams-tech Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.
@liams-tech2 жыл бұрын
@@MrZ____ You can use 'Set-Executionpolicy Bypass' before running the script which will allow it to run, just dont forget to turn it back afterwards.