You can use the on-premises file server only in the enterprise version of Windows 365 as this can be possible when your enterprise VM is integrated with Azure VNET and the Azure VNET does have some connectivity like express route or site to VPN with the on-premises network.