Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I did a lab and I was successfully able to achieve this.
ADF logs
- As you can see, the original request from client was <AFDEndPoint>/content/HTML/index.html?<SASToken>
- But the request that went to the Storage Account was <StorageAccountName>.blob.core.windows.net:443/content/HTML/index.html?<SASToken>
-
{url_path:seg#}
: Allow users to capture and use the desired URL path segment in URL Redirect, URL Rewrite, or any meaningful action.For a multiple-segment capture, when the source pattern is/id/12345/default/location/test
, a URL rewrite destination/{url_path:seg1:3}/home
results in/12345/default/location/home
.
For more information,
- URL Rewrite : https://learn.microsoft.com/en-us/azure/frontdoor/front-door-url-rewrite?pivots=front-door-standard-premium
- Server Variables in Rule Sets : https://learn.microsoft.com/en-us/azure/frontdoor/rule-set-server-variables#server-variable-format
Kindly let us know if this helps or you need further assistance on this issue.
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.