question

ErshadNozari-6158 avatar image
0 Votes"
ErshadNozari-6158 asked PramodValavala-MSFT answered

Logic Apps - processing files on an on-premises server

Hello,

We have a requirement to use Logic Apps to process files located on an on-premises file share. My question is what options do we have?

1) One option is to install on-premises data gateway, but I’m reading that there’s is a 2mb file size limit with this option? Also, how does this compare to next two options below?

2) I’m contemplating to perhaps map a Azure File Storage to the on-premises server and have Logic Apps process the file from the Azure File Storage instead? Is this a viable option? If so, are there any restrictions on port etc that need to be open on-premises?

3) We are heavily using Azure Hybrid Connection Manager (HCM). Is there way to use HCM with Logic Apps to reach an on-premises file location?

4) How about SFTP compared to above mention options. My preference is not to go down this path, but I’ve listed it here anyway to hear thoughts and feedback

Many thanks,

azure-logic-apps
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

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

@ErshadNozari-6158 you are on the right path and hope this information helps to decide on the next steps

1) One option is to install on-premises data gateway, but I’m reading that there’s is a 2mb file size limit with this option? Also, how does this compare to next two options below?

Yes. While an option, there is a limit to consider based on your requirement.

2) I’m contemplating to perhaps map a Azure File Storage to the on-premises server and have Logic Apps process the file from the Azure File Storage instead? Is this a viable option? If so, are there any restrictions on port etc that need to be open on-premises?

This is a great option. The main prerequisite for mounting Azure Files is having port 445 open.

3) We are heavily using Azure Hybrid Connection Manager (HCM). Is there way to use HCM with Logic Apps to reach an on-premises file location?

HCM can only be used with Azure App Service. So you could expose an API that can act as a proxy to your file share but do note the sandbox restrictions for windows plans.

4) How about SFTP compared to above mention options. My preference is not to go down this path, but I’ve listed it here anyway to hear thoughts and feedback

This is very much like your existing option apart from the protocol being used. You would still need one of the above to access it if its on-premises.




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.