Sending from Email Aliases in Exchange Online has reached general availability, which means mail can go out using any alias (a proxy address—a secondary SMTP address bound to the mailbox) and is no longer restricted to the primary SMTP address. In the past, Exchange Online usually replaced the visible sender on outbound alias traffic with the primary address unless you worked around it with shared mailboxes or similar setups. You can switch this capability on for the whole tenant in the Exchange admin center or through the
Set-OrganizationConfig PowerShell cmdlet. GA status does not remove real-world constraints in hybrid environments, with shared mailboxes, in mail flow rules, or when you run message tracing.
Source