Ok then I think network policies are enabled for your subnet in a virtual network by default it should be disabled so that certain security rules or configurations—specifically those involving Network Security Groups (NSGs) and User-Defined Routes (UDRs)—do not apply to private endpoints within that subnet.
Please check this doc for more ref and also look for steps to disable this policy if enabled
If still have questions , please let me know