The title might be a bit misleading but I don't know how else to describe my situation.
Situation: Client have registered a domain through company A, which from the record it is currently pointing to company A DNS. Client also purchase a Microsoft 365 subscription with the email hosting service through company A and they have set it up for him. From what I see from the DNS MX/A record, it has the root domain pointing to outlook.com for the microsoft 365 email hosting.
Now he wants a website from us, and since he does not have a web hosting service, naturally the new website will be hosted with us, which will be a shared hosting account we have with a hosting provider. He would like to retain his current email hosting so he can keep all the email and continue using the Microsoft 365.
I have setup new domain for web hosting as well as migrating the whole web hosting and e-mail hosting from another hosting provider before. While I think it should not be any difference, I have never have case where e-mail and web hosting need to be in different server, and to dealt with Microsoft 365 before.
I believe all I need to do is point the domain to my hosting DNS, and copy the current DNS setting in company A including the MX/A record to my web hosting DNS. Is that what should be done? Will the SPF record of Microsoft 365 need to reset and what else do I need to do to ensure smooth transition?
I do not want to do anything for my client before I know what to do.