Microsoft 365 accounts default set to block automatic email forwarding as part of their outbound spam protection. If you try to setup external e-mail fowarding then will get a bounce back message.
Use below steps to create a policy in Office365 and allow the out side email forwarding.