How Can I use AppleScript in Outlook 365 Rules?

This is a bit off-topic for KM, but you guys are the best, so I thought I'd ask this question here.

How Can I use AppleScript in Outlook 365 Rules?

I just upgraded to Office 365, and therefore from Outlook 2011 to Outlook 365 (technically Ver 16.25). I've also upgraded to Mojave 10.14.5.

In Outlook 2011 there was an option in the Rules setup to call an AppleScript. I don't see that for Outlook 365. So, can it be done, or have we lost that feature with Outlook 365?

BTW, here's a great Outlook 365 AppleScript by @CJK: https://apple.stackexchange.com/a/340016