How to impement URL rewrite on Azure

Kentrade Azure 1 Reputation point
2020-11-23T10:20:31.67+00:00

I have an app that integrates to CRM on-premise through azure. The app references the latest version of CRM API (v9.0 and v9.1) whilst our client has a lower CRM API version (v8.2).

The app calls a URL as follows:
https://app1.msappproxy.net//api/data/v9.1/contacts?$select=fullname,telephone1,address1_composite&$filter=contains(fullname,%27Test%27)

We would like to rewrite the v9.1 to v8.2. to get the below URL called.

https://app1.msappproxy.net//api/data/v8.2/contacts?$select=fullname,telephone1,address1_composite&$filter=contains(fullname,%27Test%27)

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
990 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TravisCragg-MSFT 5,681 Reputation points Microsoft Employee
    2020-11-23T20:13:29.21+00:00

    URL Rewrite is available through Azure Application Gateway or Azure Front Door. These services would need to be placed in front of the application receiving the request, and the URL Rewrite can be performed.

    As a disclaimer, it is likely easier to just change the request to the correct version at the source.

    0 comments No comments