Hi Ashiqur,
Q1: Is there a script to do that?
A1: You need to manually change them.
Q2: I'm not sure where you saw its domain.local.
A2: You have ever given me some information I requested in Private Message. You said "The other info you requested are below:
userprincipalName: moshiur.contractor@domain.local".
Q3: I'm still not able to figure things out for this one specific user.
A3: The entry with lower case smtp you added cannot be the same as the one with upper case SMTP. Please confirm that you can login to https://outlook.office365.com using this specific user's credential (user@domain.com).
Q4: How about configuring Outlook for non-domain computers?
A4: Configuring Outlook client for a non-domain computer or a domain joined computer is the same. For more detailed information, please refer to the article:
https://support.office.com/en-us/article/Set-up-email-in-Outlook-2010-or-Outlook-2013-for-Office-365-or-Exchange-based-accounts-6e27792a-9267-4aa4-8bb6-c84ef146101b
Note: the users can sign into Office 365 OWA (https://outlook.office365.com) using their credentials.
Moreover, I have sent you a Private Message to request some information. Please check it.
Thanks,
Edward Qu