Do you use App Gateway as this might assist in redirection and applying L7 policies as well. If not try this process -
Hope this helps.
Please Accept the answer if the information helped you. This will help us and others in the community as well.