on 2025 Jan 31 9:18 AM
Hello,
I'm trying to establish a connection between SAP CPI to Microsoft 365 with OAuth 2 credentials using Mail sender adapter, although my credentials are deployed successfully, when I'm trying to do the connectivity test, I'm getting (javax.mail.AuthenticationFailedException: AUTHENTICATE failed).
Below are the screenshots attached for reference
Connectivity Test
Credentials deployed
I've given scope as:
https://outlook.office.com/IMAP.AccessAsUser.All
https://outlook.office.com/SMTP.Send
offline_access
Am I missing something? Please help me out.
Thanks in advance
Shreyas
Request clarification before answering.
Hi Shreyas,
Can you check if you have given required scope to the mail user in oauth2 code. You can add this scope to the user : https://outlook.office365.com/IMAP.AccessAsUser.All offline_access
Thanks,
Nilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.