Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.62 KB

README_QuarantineMessages.md

File metadata and controls

42 lines (27 loc) · 1.62 KB

About The Project

Project Owner: Jannos-443

PRTG Powershell Script to monitor Microsoft 365 QuarantineMessages

I use this Script to safe me the daily check for false positives

Free and open source: MIT License

Features

  • Monitor QuarantineMessages

HOW TO

  1. Create Azure AD Application and Assign Exchange.ManageAsApp Permission
  1. Place PRTG-M365-QuarantineMessages.ps1 under C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML

  2. Place your Self-Signed Certificate on the PRTG Server(s) or Import it into Cert Store

  • Placed in file Structure = -CertificateFilePath 'C:\YourPathToCert\Cert.pfx' -CertificatePassword 'YourSelfSignedCertPassword'
  • Imported into Cert Store = -CertificateThumbPrint 'YourSelfSignedCertThumbPrint'

Usage

-CertificateFilePath 'C:\YourPathToCert\Cert.pfx' -CertificatePassword 'YourSelfSignedCertPassword' -ApplicationID 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' -TenatDomainName 'contoso.onmicrosoft.com'

Using Self Signed Certificate in placed on PRTG Server(s)

-CertificateThumbPrint 'YourSelfSignedCertThumbPrint' -ApplicationID 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' -TenatDomainName 'contoso.onmicrosoft.com'

Using Self Signed Certificate imported in Cert Store

Example Output

PRTG-M365