We have a local SP2016 farm. There are 2 AAM setups:
Default: https: //mysharepoint.company.intranet/
The Internet-facing gateway is set up to process requests to https://mysharepoint.company.com/. For users in our office, they can use both URLs to visit our website. However, internal users are not prompted to browse the extranet, because they occupy the limited bandwidth for external users.
The problem lies in our designer workflows. The workflow sends the user an e-mail with a direct link to the document or to a specific site. The URL is as follows: https://mysharepoint.company.com/sites/xxx/xxx/xxx.docx. If the e-mail recipient (the user) works outside the office and clicks on the link, the document will not be opened because it is an internal address.
It's also not very good to include both links in the email because our users can not tell if they are on the intranet or the internet.
Any idea to solve the situation?