IMAP Fetching - Microsoft OAuth2
Same problem...
Ugh
Thank you...
KevinTheJedi What do you mean by "system email"? Where in the config ?
Would adding a new email account and then deleting the old one work ?
Best regards.
The default email that osTicket was originally setup with needs to be deleted. However, in EMAIL ADDRESSES, the default is greyed out and is unselectable. I work around this by selecting a different default and then deleting/recreating the address. This seemed to reset everything.
What I did was:
- Admin->Emails tab-> Settings-> EMAIL SETTINGS AND OPTIONS Select a different default email address. I set mine to the "alerts@"mydomain".
-Admin->Emails tab-> EMAIL ADDRESSES Select the email address and delete it.
-Admin->Emails tab -> EMAIL ADDRESSES Re-Create the email address you just deleted.
-Admin->Emails tab-> Settings->EMAIL SETTINGS AND OPTIONS Select the "new" default email address that you just recreated.
Seemed to work.
You would need to set a new default email, before you can delete it.
Helllo,
in our case were able to config the accounts with outh , however no mail is fetched.
We deleted the "default email" as instruted above but the problem persists.
Are we missing something ?
same issue. Could anyone help please? It is now critical for us since Microsoft revoked the legacy auth and now emails are not fetching via OAuth2. It always going for approval.
- Edited
Did you try to add the cron job that run every X minutes? I put mine at every minutes like this.
This is the file /etc/cron.d/osticket
# Cron jobs for osticket system
# This jobs fetch new emails every minutes
* * * * * www-data /usr/bin/php /var/www/osticket/upload/api/cron.php
You might need to adjust your path depending how you installed osticket.
I've seen path with uppercase on first t like this /var/www/osTicket/upload/...
I didn't - I would give it a try but at least when the emails fetch once. However, it didn't after configuring OAuth2 even for a once.
abeermuh If it's always going for approval, did you allow users to consent to apps beforehand? You can turn it off after you've got things set-up, but it's required temporarily for the initial configuration.
It can be set at https://aad.portal.azure.com/#view/Microsoft_AAD_IAM/ConsentPoliciesMenuBlade/~/UserSettings , and note that it can take about 10 minutes or so for the change to take effect.
hi,
i cannot save the operation of the first step ... i miss the "save"-button ...
it is possibile to activate the hidden button?
thanks
best regards
stefan
@stefanlanziner I'm not sure what you are trying to ask. Save button? hidden button?
You might want to start your own thread and include your environment information and a better description of what your issue is.