Not able to configuring OAuth2 Support for the Mail Service | Community
Skip to main content
New Participant
September 26, 2022
Question

Not able to configuring OAuth2 Support for the Mail Service

  • September 26, 2022
  • 2 replies
  • 873 views

Hi All, 

  

 After following all the steps defined in the following url : https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/security/oauth2-support-for-mail-service.html?lang=en
I am not able to receive any email for Office365. Access token is also generated. 
Can anyone try to help me resolve this. Is this the only process to be followed or after generating the access token any other steps need to be followed in order to get the Email ?




Thank you.



This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

New Participant
February 2, 2024

@khasinaparveen - Were you able to resolve this problem. We are also facing same issue and not able to send email.

[EMailNotificationService-Processor] com.day.cq.mailer.oauth.impl.OAuthCodeServiceImpl error occurred while fetching accessToken using RefreshToken org.apache.oltu.oauth2.common.exception.OAuthProblemException: invalid_grant, AADSTS9002313: Invalid request. Request is malformed or invalid. Trace ID: 705e2a15-bc3f-4197-859a-6ea588ed0400 Correlation ID: b15f603e-dce5-49ec-883e-fe1dc5d2f633 Timestamp: 2024-01-29 18:42:29Z, https://login.microsoftonline.com/error?code=9002313

rawvarun
New Participant
July 6, 2023

 Validate both the accessToken and refreshToken using the curl command.