Hello,
We are currently in a project to use the M365 services.
The use case or question specifically concerns EntraID and Exchange Online.
In the Microsoft cosmos you get the UPN (UserPrincipalName) and this is usually also the primary SMTP address .
However…