Hi, thats not actually supported:
https://learn.microsoft.com/en-us/exchange/plan-and-deploy/supportability-matrix?view=exchserver-2019#clients
You wouldnt use onmicrosoft.com however to connect to an Exchange 2010 server, thats used for Microsoft 365 domains. You would use your "real" domain, not the onmicrosoft.com one.
You should probably contact the admin for your company, but generally you enter your primary EMAIL address and Outlook automatically configures it.