Microsoft has started deprecating certain Outlook endpoints used in Modern Authentication (OAuth2) for Emails. Note, this does not affect user/agent authentication. These deprecations started causing errors similar to The API version v2 has been depreciated
when the system attempted to retrieve a new set of Tokens. This prevented new Tokens from being generated which caused authentication failures. We have now made changes to the OAuth2 plugin to support the latest Microsoft deprecations.
To address this issue, anyone using a Microsoft email as a system email is encouraged to download and install the latest build of the OAuth2 plugin specific to their version of osTicket core. Once downloaded, simply replace your existing OAuth2 PHAR file with the new one. You may want to restart the webserver (and PHP-FPM if you’re running it) to clear any server-side file caching. Once complete you can follow the steps below to update your email configurations:
Licensed/Personal Emails
Shared Mailboxes/Resource Emails/Aliases