I created a rule set that did a url redirect which seems to work:
IF Condition Host name Equal api.mydomain.de
THEN URL redirect Permanent redirect (308) match request apim-name.azure-api.net