I have created a webapp in Azure (for example, abc.azurewebsites.net) and added a custom domain to it which was taken from Cloudflare (abc.contoso.com) (by adding CNAME point to Azurewebsites.net).
Now my requirement is whenever customer access the webapp through abc.contoso.com it should get through Cloudflare and hit azurewebapp.
Then I configured IP restrictions in Azure webapp so that I could allow only traffic which comes from Cloudflare.
I have added ips to allow mode which I got from the documentation and deny remaining all, but it's not working.