Hello @Satyam Chauhan ,
As described in documentation on IoT Hub virtual-network-support, your Edge devices need VPN or ExpressRoute to access the VNET and the private endpoint of the IoT Hub.
----------
If your question was answered, please use "Accept Answer". If not, please share more details so we can try to help you.