Hi @Anonymous
Welcome to Microsoft Q&A! Thanks for posting the question.
From logic app end it can only be supported using OPDG. I have added the azure-webapps tag and will check with the team if this can be supported at their end.
App Service sandbox explicitly does not allow access to the ports necessary for SMB protocol (137/138/139/445).
There are restrictions in terms of network access from an Azure Web App. This section outlines limitations specific to Azure App Service; apps are, in addition, still subject to Azure's own networking restrictions.
You can refer to this article under the section "Restricted Outgoing Ports" for more details. For Linux it is not the case as discussion here.