Hello,
SMTP Relay settings are available in Exchange Online server.
Admin Microsoft 365 > Exchange Online > Mail flow > Connectors
I suggest you to check there your SMTP Relay configuration
At the moment Microsoft 365 doesn't permit you to enable SMTP Relay (you can just create them).
You maybe need to confirm existing settings.
Did you specify a source IP for your SMTP Relay? Regards