I have been running Exchange server 2010 on our network and recently subscribed to Office 365 online. I can access email ok on line through the Office 365 portal but cannot get Outlook 2016 on my PC to link with the online mail.

Outlook 2016 on my PC (Windows 10, 64 bit machine) appears to be only trying to connect to the local exchange server.
I have not yet switched off the exchange server but have removed my email account from the system.

I tried to create a new profile for 2016 but it cannot find my online email account (autodiscover was reported as working ok when I set up the online account and ISP MX records etc)

Thanks for any help.