An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
Hello Santosh Kumar Vellala
For some subscription types, before you can create an App Service domain, the subscription needs to have sufficient history on Azure. App Service domains aren't supported on free trial or credit-based subscriptions.
Remove the spending limit: For credit-based subscriptions, removing the spending limit can enable the purchase of App Service Domains. Be aware that this action may lead to charges beyond your included credits.
Sufficient History: For some subscription types, before you can create an App Service domain, the subscription needs to have sufficient history on Azure
NOTE: To use an App Service domain, the app's App Service plan must be a paid tier:
Azure Plan subscriptions in the CSP program currently don’t support in-portal domain purchases.
So, if you are using free trial account or credit based account, you wont be able to create an app service domain
Microsoft Docs: https://learn.microsoft.com/en-us/azure/app-service/manage-custom-dns-buy-domain?WT.mc_id=AZ-MVP-5004796
Should there be any follow-up questions or concerns, please let us know and we shall try to address them.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.