Question
Jetty Technologies
PL
Last activity: 16 Jun 2022 18:18 EDT
Issue with gaining access to email account via Microsoft Graph API
Hello experts,
I've encountered an issue with getting access to email account via Authentication Profile configured with a Microsoft Graph client credentials flow. I've already studied, hopefully, throughly documentation on how to configure a Microsoft Graph compliant OAuth 2.0 authentication profile (Configuring OAuth 2.0 authentication for sending and receiving emails by using Microsoft Graph | Pega).
I did add 3 privilleges + 1 extra in Azure App Registration as stipulated in the documentation:
- Mail.Send
- User.Read
- User.Read.All
- Mail.ReadWrite
The remaining configuration (client ID, client secret, scope and access token endpoint) also appears to be correct from my understanding:
As you can see from the enclosed screenshot the token is being downloaded, however when I'm trying to test connection to either receiver or sender account I get the following error: Error during http request
Hello experts,
I've encountered an issue with getting access to email account via Authentication Profile configured with a Microsoft Graph client credentials flow. I've already studied, hopefully, throughly documentation on how to configure a Microsoft Graph compliant OAuth 2.0 authentication profile (Configuring OAuth 2.0 authentication for sending and receiving emails by using Microsoft Graph | Pega).
I did add 3 privilleges + 1 extra in Azure App Registration as stipulated in the documentation:
- Mail.Send
- User.Read
- User.Read.All
- Mail.ReadWrite
The remaining configuration (client ID, client secret, scope and access token endpoint) also appears to be correct from my understanding:
As you can see from the enclosed screenshot the token is being downloaded, however when I'm trying to test connection to either receiver or sender account I get the following error: Error during http request
Unfortunately, there's nothing specific in tracer to indicate an issue, e.g. exact request being sent by Pega.
Any ideas what might be going on here? Your help will be highly appreciated.
KR,
Robert
***Edited by Moderator Marije to add Support Case Details; ***