Disable network security group policies (optional)

If you would like to use a private endpoint instead of a service endpoint, then you must have at least one subnet with private endpoint network policies disabled. If you would like to use a service endpoint (which is the default behavior), skip this step.

For information on disabling private link service network policies, refer to Disable network policies for private endpoints in Azure documentation.