Question

22
Views
Close popover
Priyesh Agrawal (PriyeshA)
Ernst & Young

Ernst & Young
IN
PriyeshA Member since 2015 13 posts
Ernst & Young
Posted: December 21, 2020
Last activity: December 21, 2020

Invalid audience issue for Inbound Email using MS Graph API

Hi All, We are working on Email Inbound feature using MS Graph API. We have got all the details, created AUTH profile, email account. But getting below error while testing ReceiverConnection: HTTP Status - 401 Connect to email server - Fail

Details Created DefaultExecutors Starting to send request, URL https://graph.microsoft.com/v1.0/users/<Email Id>/mailFolders Request Method GET Response code 401, Unauthorized Handling error response Deserializing type GraphErrorResponse Graph service exception Error code: InvalidAuthenticationToken Error message: Access token validation failure. Invalid audience.

Can you please help me resolving the issue. Thanks in Advance!

***Edited by Moderator Marissa to update Platform Capability tags****
Pega Platform 8.3.1 Data Integration System Administration