Hi - I'm using the 'Exchange Online: Query Messages' function as part of the fn_exchange_online 1.3.0 app. In my pre-processing script of the function task inside my playbook, I have a 'from java.util import Date' statement. The statement is there in order to specify the date range to search through. But I'm receiving the following error (upon incident activation (i.e. playbook trigger)):
'Unable to set inputs using a script for Function 'Exchange Online: Query Messages' from Playbook 'O365 test' because: ResilientSecurityException: Script contains the following illegal imports: "java.util" ' This is rather strange, since the app-provided workflow has the exact same import statement in their post-processing script.
Why would there be such a difference between the playbook and workflow. And how would you go about resolving this issue?
------------------------------
Mark Aksen
------------------------------