Top-level event.user Attributes Added by Azure Missing from the event.user in the Post-Login Action
Last Updated:
Overview
In the case of Azure Connection users without email, it is possible to grab the UPN from those users' profiles in the Post-Login Action. However, the UPN is missing by checking the output of console.log(event.user) in the Post-Login Action with the Real-Time Log Extension.
To troubleshoot this issue, call the GET /api/v2/actions/actions/{id} endpoint to find out if the Action to find the supported_triggers version is v2 or v3.
Cause
Solution
{
"supported_triggers": [
{
"id": "post-login",
"version": "v3"
}
]
}