Hello there,
I have recently setup a new OSTicket v1.18.2 installation, and I am struggling with enabling the email fetching from Office365 email box.
Here is the configuration of the email:

And the token:

And the scopes:

Also - I have a Department, Priority and Help Topic setup for the email.
Lastly I have enabled email fetching for OSTicket:

And setup a cron job to run as www-data on the server side:

Yet - no emails are fetched. Is there something I am doing wrong?