Hi, Thanks for the post.
For security or compliance, your subscription administrators might assign policies that limit how resources are deployed.
Just check the assigned policy on your subscription and get the action allowed for successful deployment.
Refer for more info:
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/error-policy-requestdisallowedbypolicy