Sign up for Office 365
Learn more about Office 365
Firstly, I would like to know if you have configured the Office 365 email accounts on the Outlook 2007.
If you cannot configure a new profile by using Exchange Autodiscover for an Exchange Online mailbox in Office 365.
You can refer to the follow article to troubleshoot this issue:
In addition, here is an article about setting up email in Outlook 2007 for your reference:
How is everything going? Do you have any updates about the status of the issue?