Make sure your browser cache is cleared, or just use another browser
Oauth Microsoft PHP error
- Edited
Deleted ALL the browser cookies, started in incognito, deleted the app registration and created a new one, tried it on aonther computer. No matter what I do, I keep getting:
Can you please explain to me what the error in fact means?
Legacy login works perfectly. I even went into the mysql tables and deleted references to the account.
Same issue here, having checked IMAP using other accounts and on different clients, this looks to be a Microsoft issue, although no acknowledgement as yet.
Looks to have started after approx. 19:00 (GMT) on 27th December.
- Edited
I'm having the exact same issue as well, the oauth2 process works, tokens get refreshed, but no emails are being fetched anymore and the error "cannot select INBOX, is this a valid transport?" pops up every time when trying to save.
I was originally using version 0.2 of the oauth2 plugin, but updating it didn't help.
I can also confirm that the issue started about 2 days ago, with no issues for months before that.
- Edited
Why do you believe that? That really gives me a bit of hope since I was about to lose it....
Found more issue I think might be related:
Link (https://sugarclub[dot]sugarcrm[dot]com/explore/help-forums/enterprise-professional/f/enterprise-professional-questions/6111/group-email-account-not-archiving-from-mailbox)
Another (https://pullanswer[dot]com/questions/collector-not-working-imap-oauth-tag2-bad-user-is-authenticated-but-not-connected)
- Edited
It looks like an IPv6 issue though, please follow this guide and test it:
https://itsfoss[dot]com/disable-ipv6-ubuntu-linux/
Looks like it's working when I disable IPv6. Can't explain it though...
Rickymundo Disabling ipv6 does fix the issue, thanks for sharing!
Where can I claim a bonus? :-)
Rickymundo I was having the same issue that has been listed here and several other times.
I had tried ALL other fixes supplied and this was the only one that worked and I can confirm it worked.
Microsoft Support had confirmed to me that nothing had changed on the 27th December (mine stopped working then too). I will let them know this knowledge so they can investigate.
I wasn't going crazy... ;-)
Hi Kevin,
I have the same error with os ticket. The following links are shown:
https://forum.osticket.com/d/101803-the-requested-url-apiauthoauth2-was-not-found-on-this-server/7
After adding the LDP setting, going to add credentials, and then adding admin credentials, I get a time-out error on my direct URL.
I am using centos 8 and osTicket 1.17.
am added the rewrite permission also on the server.
can you please help me...
Hi,
I run in to very similar if not same issue. After plugin installation I got prompt to log in to O365, but ended with "File not found" after redirect. I removed plugin, added it again and now I stuck with "LOADING.." after I submit settings for ldP config. Tried different web browsers, incognito, same result.
Removed IPv6 already, didn't helped. Like some kind of cache or something on server??
Any help on this ?
- Edited
KevinTheJedi
Hi Kevin,
OK. Now I got back to error on Osticket side. Log in to O365 with support mail account, accept permission and redirected to our osticket site and got "File not found" on this URL https://our.osticket.web/api/auth/oauth2?code=0.AXXXXXXXXXX
It's Ubuntu, with MySQL and NGINX.
URL Rewriting isn’t enabled or configured properly. You need to research older discussions on this on how to get it working with NGINX. A community member posted their working config in an older thread. I don’t remember which discussion it was so you’ll have to do some searching.
Cheers.
Is there any update on the "cannot select INBOX, is this a valid transport?". My installation also stopt fetching mails on the 27-december. I have tried a couple of things (removed and added the email adresses in osTicket an removed and added the registration in the microsoft tenant), but nothing seems to have any effect. I can send email with the Microsoft 365 account, but i cant read the emails from the microsof365 accounts.
I can't disable ipv6 on the server because there a more sites on the same server witch need ipv6. For now i have a little workaround to forward the mails to a external mailbox witch a can read with IMAP.
Hi Kevin,
I reset the my web server, and now it is going to authenticate and redirect to login Microsoft after fillup the Microsoft plugin config, I am authenticated with the Azure admin, it time out when redirecting the URL on my server.
This is what I followed and that's why I disabled IPV6 on my Debian server which led to a working result. Perhaps there's something in this thread that can help you as well: