Re: SessionLocalException on simple Session.Open in Azure function (C#)
What exception do you get? Give us full exception message. + How did you deploy your project to Azure function?
Your duplicate question on Stack Overflow:
WinSCP .NET assembly fails with "The winscp.exe executable was not found" in Session.Open in C# Azure function
Your duplicate question on Stack Overflow:
WinSCP .NET assembly fails with "The winscp.exe executable was not found" in Session.Open in C# Azure function