@Karthick G
Did you try registering your custom domain with Azure? Also as noted, subdomain is required, root domains are not supported. For more information you can refer to this Cloudflare thread and StackOverflow thread.
Hope this helps. Let me know if you have further questions or issues and we will be happy to help.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.