Hi Bas Breijer,
Greetings of the day!
It sounds like you've encountered an issue with SAS token evaluation and IP restrictions when using an Azure Front Door (AFD) in front of your CDN. It's unfortunate that there's currently no workaround or setting to have SAS token IP address evaluation use the actual client IP.
While there is currently no built-in workaround or additional header/setting to address this issue, there are a few potential solutions you could explore:
- Request Feature Enhancement: You could submit a feature request to the Azure team to add a custom header to the SAS token IP evaluation that can be used by the AFD rules engine to allow the actual client IP address to be used. This would provide a more flexible solution for scenarios where HTTPS access and IP restrictions are required.
- As this something which is not supported. We encourage customers to create a feedback item for this request on the feedback forum
https://feedback.azure.com/d365community
Looking forward to your response and appreciate your time on this.
If the response above addresses your question, please consider clicking "Accept Answer" and "Upvote It".
This way, others in the community who might have similar concerns can easily discover the solution.
Your feedback is greatly valued!
Regards,
Ganesh Patapati