PowerShell cmdlet needs to run on the Exchange Online mailbox whenever a new Exchange Online mailbox is created along with M365 E5 license.

we want to run a cmdlet on the exchange online mailbox whenever a new mailbox is created with an e5 license.

Set-Mailbox <user> -AuditOwner @{Add="SearchQueryInitiated"}

the above cmdlet is the one i need to run every time, however i am not sure how we can proceed with this since i couldnt find it in the documentation.

any help on how to make it happen is appreciated.