Search code examples
azureazure-communication-services

Azure Communication Service rewriting email urls to azurecomm.net


While sending emails using Azure Communication Services, the sent emails contain our company URLs which are rewritten to azurecomm.net URLs which is not expected behavior.

If we use a URL like, https://api.example.com/test it sends this exact URL but if we use a URL like, https://example.com, it's changing the URL to https://action.azurecomm.net/api/...

Would appreciate any help in the matter.


Solution

  • As explained in the comment by @rocky, rewrite automatically happens on <a href> as it's used by ACS to track user interaction on the email.

    To toggle user tracking, you can go to Communication Service > go to Domains (under email section) > click on the domain name (second column) > in the overview section to the right there's an option to toggle User interaction tracking

    Hope this helps someone.