@Anannya Ghosh Firstly, Apologies for the delay response! Adding more information to the above response.
Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
Based on the error details, In general, we would see this error if there is a policy in your subscription which disallows to create / update of such resources. To be able to proceed further, you might have to disable that policy which was not allowing the successful deployment. For more information w.r.t retrieving details about the policy that blocked your deployment, please refer to this article and let us know the status.
Also check with your Subscription administration on the policy which has been assigned to you (For security or compliance, your subscription administrators might assign policies that limit how resources are deployed. For example, your subscription might have a policy that prevents creating Storage Account, Public IP addresses, Network Security Groups, User-Defined Routes, or route tables. The error message in the Symptoms section shows the name of the policy. To resolve this problem, review the resource policies, and determine how to deploy resources that comply with those policies.)
Refer to this section on Validation errors and check if you are seeing any of these.
Please let us know if you have any further queries. I’m happy to assist you further.
----------
Please do not forget to and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.