EWS Mail fetching issue using different tenants
Issue: EWS Mail fetching issue using different tenants
Error trace on logs:
[23:30:20:701]|[01-23-2023]|[com.adventnet.servicedesk.common.MailUtilities]|[INFO]|[73]: Proxy not enabled for ews. isIncoming: true|
[23:30:21:076]|[01-23-2023]|[SYSERR]|[INFO]|[73]: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote server returned an error: (401)|
Possible root cause:
The user might add the app registration under different tenants verify the same with the user. Check the domain names in the Azure portal login screen.
Solution:
Changing the tenant to multitenant or login to Azure using the email tenant used on the mail server settings.
New to ADSelfService Plus?
Resources
Related Articles
Mail fetching - deleted flag issue
This message will be thrown, when you have provided a shared mailbox. The concept here is, SDP MSP reads the mail from the configured mailbox and adds it as a request. During the time, if some other application fetches the mail from the same mailbox ...
EWS support for TLS version above 1.0- Unable to save mail server setting when using microsoft exchange 2016
By default, EWS java api only supports TLSv1.0. Though SDP application supports TLSv1.1 and TLSv1.2 for mail fetching by default ( from 9405 ), EWS java api doesn't use the TLS versions specified in the System Properties. Thus, we are providing ...
Outgoing EWS issue.
The issue happens with the outgoing mail server settings All the fields in the outgoing setting are configured properly and then when you try to save the settings an error pops up as below. The error is the value indicated for the parameter incoming ...
EWS OAuth configuration with screenshots from Azure
In order to configure EWS OAuth configuration successfully, please follow the exact steps in the below link, https://help.servicedeskplus.com/configure-azure-as-authentication-server Note: For client secret, there would be a field called 'Value' as ...
OAuth Mail fetching Error
While trying to configure the mails during OAuth Configuration if you get the following error in the logs -> microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote ...