Hi,
If you are hosting your app on Azure, this might help https://stackoverflow.com/a/43571399. Could you try it and let us know if it works ?
The solution in the link is out dated for Azure. You can no longer add wildcards on custom domains, it won't let you. I do have the wildcard DNS record in place though.