Microsoft Graph troubleshooting and Solution.
Error traces:
[14:40:47:056]|[02-13-2024]|[com.manageengine.mdh.MDHFilter]|[INFO]|[1561]: PORTALID : 1|
[14:40:47:073]|[02-13-2024]|[com.manageengine.servicedesk.authentication.oauth.util.OauthUtil]|[INFO]|[1561]: Authorization code obtained successfully|
[14:40:47:073]|[02-13-2024]|[com.adventnet.servicedesk.common.MailUtilities]|[INFO]|[1561]: Proxy not enabled for graph. isIncoming: false|
[14:40:47:228]|[02-13-2024]|[SYSERR]|[INFO]|[1561]: com.nimbusds.oauth2.sdk.ParseException: The HTTP Content-Type header must be application/json, received text/html|
[14:40:47:229]|[02-13-2024]|[SYSERR]|[INFO]|[1561]: a
Solution:
Error trace 2:
[18:51:37:565]|[02-27-2024]|[com.manageengine.servicedesk.mailutils.TestMailServlet]|[INFO]|[577]: inside TestMailServlet doPost method. command ::sendSampleMail|^M
Solution:
Seems, the graph endpoint is incorrect. The endpoint should be "https://graph.microsoft.com/v1.0" whereas "v1.0" is missing in the endpoint. Try saving with correct endpoint and check this case.
New to ADSelfService Plus?
Related Articles
Fix: Failed to parse To/Cc address while fetching mails using Graph
Issue: If the To / Cc address contains the email address in the format "Test, SDP" <test@sdp.com> (containing "," character in the email address itself), then parsing of such addresses using Microsoft Graph fails in SDP. If such address is a support ...
Office 365 basic Auth deprecation - Solution
If you are using Office 365, please note that the issue could be due to Microsoft depreciating basic authentication. You have to configure mordern authentication (Oauth) to fix it. Please refer the below article for reference Office 365 basic Auth ...
Solution link behavior change after builds 14200
Issue: The Solution field is completely revamped and hence the links to search solutions in below format wont work in recent builds: Versions before 14200 In versions before 14200 the link to Solutions was: ...
Mail Fetching: China Graph Could
Issue: Some properties are missing in the China Graph API, causing issues with mail fetching. Issue ID: SD-121065 Error Trace: com.microsoft.graph.http.GraphServiceException: Error code: BadRequest Error message: Parsing OData Select and Expand ...
Graph email debug
To debug the email fetching issue in #9967473: The customer signature is not getting fetched properly.