Thank you for reaching out.
I understand you need to create an exclusion rule in your WAF for headers and header values
Can you let me know if you have a WAF associated with an Azure Application Gateway or Azure Front Door?
From your question it is not clear whether you have a WAF associated with an Azure Application Gateway or Azure Front Door. Either way the process below will remain the same for both of them
- Enable diagnostics logging for your WAF to understand which particular rule blocked the request and what was the user-friendly message for the triggering event. Follow these links for App Gateway or Front Door
- WAF rule log will showcase the rule ID and the message on why the WAF is blocked the request.
- Follow Exclusion rule documentation here for Front Door and apply the exclusion based on HeaderValue or use RequestHeaderValues match variable for App Gateway
Hope this helps! Please let me know if you have any additional questions. Thank you!
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.