The CreatorCon Call for Content is officially open! Get started here.

Error with signed cards for Outlook Actionable Messages

SaviGuru
Tera Contributor

I have implemented signed cards for Outlook Actionable Messages by following these 2 articles - https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/administer/survey-administration/task/embed-survey-in-outlook-email.html and https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0815495

I'm receiving the survey email with the signed card but when I click on the "Submit" button on the Survey email, I get "The remote endpoint returned an error ( HTTP 403). Please try again later" error message.  

For this I have confirmed the registered provider id(outlook) is included in the json as originator id, included the "Authorization":"" in the headers, validated the json in an online validator and in the Oauth registry for the Outlook Actionable updated the client id to our https://instance.service-now.com URL. The outlook debugger has the following Diagnostics details. Any insight into the error is much appreciated. Thanks!

"CardEnabledForMessage": true,
"ClientName": "Outlook",
"ClientVersion": "16.0.14326.20962",
"InternetMessageId": "<xxxxxxx.xxxx.xxxxxxxxxxxx@xxxxxxxxx.xxxx.service-now.com>",
"EntityExtractionSuccess": true,
"SignedAdaptiveCard": true,
-"MessageCardPayload": {
"found": false,
"type": null
},
-"AuthHeader": {
"results": "spf=softfail (sender IP is xxx.xx.xxx.xxx) smtp.mailfrom=service-now.com; dkim=fail (signature did not verify) header.d=service-now.com;dmarc=fail action=oreject header.from=service-now.com;",
"authAs": "Anonymous"
}
}

4 REPLIES 4

SaviGuru
Tera Contributor

find_real_file.png

Hi,

 

We are currently facing the similar issue.

Were you able to get a solution for this issue.

You might be missing records in oauth_oidc_entity, oidc_provider_configuration and oauth_entity_profile tables.

oauth_oidc_entity - Outlook Actionable

oidc_provider_configuration - Microsoft Office

oauth_entity_profile - Outlook Actionable default_profile

 

Maria Parvis
Tera Contributor

I had this error some time ago, the problem is that the email of the user receiving the survey must be unique, there must not be another user with the same email and the BENCHBOT user must be active.
Best regards