Sorry for not providing enough information. I hope this helps.
osTicket Version: v1.17-rc4
Web Server Software: Microsoft-IIS/10.0
MySQL Version: 10.4.8
PHP Version: 8.0.21
Steps to reproduce my issue:
- Install and enable the Oauth2 Client Plugin via: Admin Panel > Manage > Plugins
- Configure the plugin via: Emails > <select email address> > Remote Mailbox > Authentication > OAuth2 - Microsoft > Config.
- I was having a problem getting the plugin to work without giving the mailbox user Global Admin rights within Azure, so after a bunch of troubleshooting I decided to delete the instance of the plugin by going to: Manage > Plugins > Oauth2 Client > Instances > Delete Instance.
I can now no longer set up the Plugin via step 2 above. It just spins saying "loading...", and the dev console in the browser shows the error provided in my original post. I need to get this resolved by October 1, or I am going to but up a creek. As I mentioned, I have even deleted and re-installed the plugin without any luck. I have no idea where to go from here without doing a completely new installation, which isn't an option, as I would lose all history and settings. My backup is now from too long ago to restore, as too many tickets have already come through on this current install.