I am trying to create a new VM in Azure and getting validation error as "Network interfaces should not have public IPs"

Someone that owns your subscription has created a policy that doesn't allow for public IP addresses.

"The template deployment failed because of policy violation."