osTicket Version: v1.17-rc4
Web Server Software: Microsoft-IIS/10.0
MySQL Version: 10.4.8
PHP Version: 8.0.21
I have successfully created the app registration for Microsoft - OAuth2 in Azure. However, when I configure OAuth2 on the email address in osTicket (Admin->Emails->support@mydomain.com->Remote Mailbox->OAuth2 - Microsoft->Config) I get the following message even though I have granted admin consent on the application registration in Azure. What am I doing wrong?

