Running Office 365 Business Premium.
Curious if this is possible or if there is a supported way to accomplish this.
I want to kick off a script when email is received by a specific recipient (actually a distribution list). The script will do something base on the IP of the sender. What are my options for accomplishing this? Is this info even available in Exchange Online?
I'm assuming the only way is to poll my Exchange online instance with Get-MessageTrace. Ideally I would like to have Exchange trigger the script somehow (maybe MS has some cloud service that does this?).