Microsoft Office365 Email Security - does it work for anyone?

Does this work for anyone?
Which roles are required not really defined anywhere, in the document. Do I just ChatGPT this to figure out what least privileges need to be based on actions?

in the document it says this

Requirements

  • An administrative account with modern authentication enabled
  • Powershell connectivity to the Office 365 cloud servers
  • For more information on these requirements and setup please see the Connect to Security & Compliance PowerShell reference at the end of this document

Roles required for the action to work:

  • Block Sender Transport Rule action
  • Transport Rules role
  • Email Compliance Search action
  • Mailbox Search role
  • Email Compliance Purge action
  • Mailbox Import Export role
  • Email Compliance Search and Purge action
  • Mailbox Import Export role
  • Mailbox Search role
  • Message Trace action
  • Message Tracking role

Links