Greetings @M.th. We appreciate your reaching out to us.
Please note that Freshdesk only allows for one email address per agent. Therefore, it is not possible to have multiple emails for a user in SSO configuration.
However, we suggest considering the following scenario: if there are two emails, A and B, and A is the agent email, you can ensure that the email address A is always passed in claims in the SSO call, regardless of whether the user logs in via A or B. This approach may help you achieve the desired outcome of having multiple emails for a user at the SSO end.
Kindly drop a message here for any queries.
Best regards,
Sujitha.
If your requestors are signing in via SSO with their UPN but e-mail generated tickets are from an alternate address where their upn and mail AD values are different, you could map their mail attribute to their Requestor accounts Secondary e-mail address field.
Thanks for the advice.
> their Requestor accounts Secondary e-mail address field.
I don't know what attribute of Freshdesk to map the AzureAD mail field to, and it doesn't work properly.
If you’re utilizing SCIM integration within AzureAD you can map pmail] to ourn:ietf:params:scim:schemas:extension:freshservice:2.0:User:_secondaryEmail]
Alternatively, if some users rmail] and nupn] match you will receive errors as the secondary e-mail can’t be the same as the accounts primary e-mail, in which case you would map an expression of nIIF([mail]=auserPrincipalName], "", mail])]
Hope this helps!