Private_endpoint_network_policies is not expected here

Hello team,

I am using AzureRM to deploy resources. originally, I encounter error of ’ StatusCode=400 – Original Error: autorest/azure: Service returned an error. Status=400 Code=“NoRegisteredProviderFound” Message="No registered resource provider found for location ’

I upgrade the azurerm version to 3.94.0 as the suggestion in the link.

Failure responding to request: StatusCode=400 – Original Error: autorest/azure: Service returned an error. Status=400 Code=“NoRegisteredProviderFound” Message="No registered resource provider found for location ‘westeurope’ and API version ‘2022-03-02-preview’ for type ‘managedClusters’ · Issue #28499 · Azure/azure-cli

After that, I got below error for the subnet resources

│ on main.tf line 19, in resource “azurerm_subnet” “example”:
│ 19: private_endpoint_network_policies = “Disabled”

│ An argument named “private_endpoint_network_policies” is not expected here.

it seems the property ‘private_endpoint_network_policies’ was deprecated on the version 3.94.0.

could you please let me know the replaced property?