My Environment:
osTicket Version: v1.17.2
Web Server Software: Microsoft-IIS/10.0
MySQL Version: 10.4.8
PHP Version: 8.0.21
I am getting a 500 Internal Server error when trying to configure the OAuth2 - Microsoft Plugin:
https://app.xxxxx.com/support/scp/ajax.php/email/17/auth/config/mailbox/oauth2:msmail 500 (Internal Server Error)

Note: I have tried deleting the email address that I am trying to set up OAuth on as well as uninstalling/reinstalling the OAuth2 plugin without any luck.