O365 different field map

Hallo. I have some problems with O365 integration.
The new created accounts (after successfully log into) has the default email value from Microsoft accounts.
But, most of the users of my O365 have another field (OtherMails) value and I want this values as email to my Zammad system. :slight_smile:

I found this:

with some code but I am not sure: where I can replace default field value to the other one from Azure??