Service: Office 365 Security & Compliance

  1. Description: Find spam emails and Delete it from all Users
  2. Style: Cloud Service
  3. Hosted by: Cloud
  4. Supported by: O365
  5. Application Admins: enLogic
  6. User Accounts: o365
  7. Depends on: N/A (tightly coupled to ServiceO365Exchange)
  8. Business contact: IT
  9. Started at: 2/2/2022

Operation

1) Αρχικά κάνουμε search για να βρούμε το spam mail όπου υπάρχει αυτό.

https://compliance.microsoft.com/contentsearchv2?viewid=search&rfr=scc_contentsearchbeta

20c0852049d16df152502ef7431e6a6d.png

3a5f8d67fd6fc67c44e264c545eeff70.png

b27d8d2ddc344f46f584256ffdaaf5d7.png

825eba73c805344d91f4eba0b0e1d7f9.png

5d1ff6e1e56633f9d8a76311731c205a.png

2) Τρέχουμε ένα Powershell με δικαιώματα διαχειριστή

  1. Set-ExecutionPolicy RemoteSigned
  2. Γραφουμε ένα Α και μετά enter
  3. Βάζουμε τους κωδικούς του O365 admin της Mazars & OK
  4. Connect-IPPSSession
  5. Get-ComplianceSearch
  6. Θα δείτε μια λίστα όπου μέσα θα έχει και το Search που έχουμε κάνει από πάνω
  7. f3dac23806e7014dcc1d5f69cfdd48cd.png
  8. New-ComplianceSearchAction -SearchName "Delete email" -Purge -PurgeType HardDelete
  9. Γραφουμε ένα Α και μετά enter
  10. 4572d6e6b789c100e87a855afa35983a.png
  11. Get-ComplianceSearchAction
  12. 615a0f1dd0a388a84b0ebdd59dd7bf50.png
  13. 61445b4b39f15b1884e5f840a01cc80b.png
Topic revision: r4 - 13 Apr 2024, NickDemou
Copyright © enLogic