I have two osticket set ups, just upgraded from 1.17 to 17.5 with the latest oauth plugin. The first two set ups use an email account that's emailaccountname@myorg.com where @myorg.com is an alias. The real account is @mxsomething. I upgraded a third osticket set up where the email is newer and at outlook.office.com I use an @ad.something ending on the email account. Microsoft accepts that. So I updated the oauth credentials in the newly upgraded osticket with that, or tried to. On this third email, even without strict matching on, I get a 404 error. It's like it accepts the password but then doesn't know what to do. There's only one way I can log in with this third account and it's using the ad.something ending. I get a Server Error 404 File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. Any ideas what that means? Or how to fix it? I think it's probably something with the primary email name setting in Active Directory. I don't have access to all the email settings. That's a different area of my org. However, I do have several ostickets set up with @ad.something endings on their email.
I'm going to continue upgrading ostickets. That looks correct and solid. It's something with the email settings I think.
No changes on the azure app side.
I did try completely wiping out the email account and readding it from scratch. It's just after osticket brings up the microsoft account sign in page. There's only way I can sign in with the email account.