Get Mail Activity of MS365: want to filter the mails with To criteria

Please share the error screenshot, Might be we can help better.
Thanks @anjasing