question

AnirudThapliyal-9057 avatar image
0 Votes"
AnirudThapliyal-9057 asked MayankBargali-MSFT answered

Can I access a on-prem network file share drive from Azure Functions or Azure WebJobs?

I have recently started work on Azure cloud and hosted our web app to Azure as app service. As part of project this app service should access a on-prem network file share. Later I came to know that standard smb ports like 139, 445 are blocked to access from App service. Hence App Service can't access on-prem network file share.

Does this restriction there for Azure Functions and Azure WebJobs as well? Can I access on-prem network file share from Azure Functions and Azure WebJobs?

azure-functionsazure-webapps-webjobs
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

Hi @AnirudThapliyal-9057

Azure webjobs is a feature of the azure app service and functions can also be run under app service plan. Depending on the plan utilized you can have different networking options available as mentioned here in the documentation. Below are some options which I can think of that you can use based on your requirements.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.