nadeem9810
If that's for both the email in osTicket and the App Registration in Entra then that's good. Once you get the Token with the valid scopes and right user you make sure the Remote Mailbox tab has hostname, port, etc. configured and that the Status is set to Enabled. Then you Save Changes and ensure it save successfully. Then you make sure global fetching is enabled (Admin Panel > Emails > Settings > Email Fetching > Enable). Lastly, you make sure a valid cron job/scheduled task is running and you should be good to go.
Cheers.