Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Jarrid's answer works perfectly for me.
This whole issue is more like a bug in Microsoft outlook admin. In the admin page, I can see the email account has 'SMTP Authentication' ticked. However, when run commands from Jarrid's answer, it shows the value is unset.