Hi @JanakKhadka
Thanks for reaching out to Microsoft Q&A
Unfortunately, you won't be able to use that approach since any "@*.onmicrosoft.com" address is excluded from the sync by AD Connect because it's a reserved address.
The doc above has more details about how the proxy and other mail related attributes are populated on Entra ID, for most of them it's just not a simple sync.
Let me know if you have any questions.
Thanks,
Fabio