Cannot read upn into username from Azure Access token

I have configured Microsoft Azure AD as Identity Provider. Unfortunately the users in Azure AD is not email enabled. So I am getting a access token like this:

{
“aud”: “00000003-0000-0000-c000-000000000000”,
“iss”: “https://sts.windows.net/f18ecf29-68a6-4697-92fa-0ce29009c210/”,
“iat”: 1719393627,
“nbf”: 1719393627,
“exp”: 1719397527,
“acct”: 0,
“acr”: “1”,
“acrs”: [
“urn:user:registersecurityinfo”
],
“amr”: [
“pwd”
],

“family_name”: “User”,
“given_name”: “Test”,
“idtyp”: “user”,
“ipaddr”: “202.21.223.85”,
“name”: “Test User”,
“oid”: “addb9a77-c851-47bd-bcea-2766ac31422e”,
“onprem_sid”: “S-1-5-21-4272895143-1734993728-3380539431-668613”,
“platf”: “3”,
“puid”: “100320039ABE249D”,
“rh”: “0.AUcAKc-O8aZol0aS-gzikAnCEAMAAAAAAAAAwAAAAAAAAABHAPA.”,
“scp”: “email openid profile User.Read”,
“signin_state”: [
“inknownntwk”
],
“sub”: “ygwn3g_OGvcSMJr-l_WiZ-r5ZvxdPjLARwMnC8kLsYc”,
“tenant_region_scope”: “EU”,
“tid”: “f18ecf29-68a6-4697-92fa-0ce29009c210”,
“unique_name”: “test.user@test.com”,
“upn”: “test.user@test.com”,
“uti”: “wJxLancz1kG3MrAvMxduAA”,
“ver”: “1.0”,
“wids”: [
“b79fbf4d-3ef9-4689-8143-76b194e85509”
],
“xms_idrel”: “1 8”,
“xms_st”: {
“sub”: “i25A21oOsT9GQBOR8hSXp7vxIS7v7ef8FCy-YnWN5N8”
},
“xms_tcdt”: 1449154341,
“xms_tdbr”: “EU”

I have tried adding mapper with upn as claim, but unfortunately not working.
Should I override IDToken class to process UPN?

please suggest me.