spangie84
Please post the errors inline as images or plain-text. We do not download anything nor go to 3rd party sites. This forum allows for image uploads and even code blocks where you can input the errors so they are formatted nicely.
So if I understand you correctly, you want to configure fetching/sending for an O365 email (ie. in the cloud), right? If so, you would need to follow the Microsoft Authorization guide below to configure their new Modern Authentication (OAuth2):
Please note that this requires the webserver to have the URL Rewrite module to be installed and enabled for the site. Additionally, this requires the download and installation/activation of the OAuth2 plugin available here.
Note:
For Shared Mailboxes specifically, you would need an admin account or service account or user account (that you can login as) to be added to the shared mailbox's "Send as" and "Read and Manage" Permissions. Then in osTicket once you configure the OAuth2 information it's super important that you uncheck the box for Strict Matching. Once you do that, follow the OAuth2 guide, and submit the OAuth2 popup in osTicket you will be redirected to Microsoft to authenticate. At that stage you would login as the admin account/service account/user account you added to the "Send as" and "Read and Manage" permissions. You might get an error the first time saying email mismatch but you simple need to uncheck the Strict Matching box one more time and resubmit the popup.
Note 2:
It's also super important that you do all of this within an incognito window so Microsoft doesn't use your personal account to authorize. If you authorize your personal account it will not work or will start pulling in your personal emails and not the shared mailbox emails.
Cheers.