You don't need to change the value of "AutoDiscoverServiceInternalUri" in Set-ClientAccessServer, because this value is used for the one of steps from Autodiscover service, if this step failed, Autodiscover service still could using two predefined URLs to find Exchange server. Autodiscover services in Outlook
To let external mailbox could find Exchange successfully:
- You need to buy autodiscover record for "123.com" from DNS provider
- Create DNS lookup zones in DNS Manager on your DC
- Copy all DNS record from abc.com to 123.com.
For internal computer, domain-joined or not, make sure them could connect to DC or external Internet, then they will could use Autodiscover to configure Outlook.
If the response is helpful, please click "Accept Answer" and upvote it.