question

LuLi-1905 avatar image
0 Votes"
LuLi-1905 asked LuLi-9013 commented

Failed to connect to network share

Hello,

I am new to logic apps. My first logic apps application is to create a scheduled process to get list of files on network share and move them to a sftp server. I started coding logic apps to get files from network share. Basically i am using File System connector and List Files operation in the flow, but when i tried to select a folder on the network share, it throws below error

102825-image.png


I did research online and was suggested to install On-premises data gateway and use it in the file system connection, but i can't find a gateway on the Create Connection page after i install it (please see below screenshot). Please anyone suggest if i am missing anything ? Thanks

102758-image.png





azure-logic-apps
image.png (52.3 KiB)
image.png (44.3 KiB)
· 2
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.

Hello,

On the azure web portal, i can see 400 error in run history

102864-image.png


0 Votes 0 ·
image.png (62.7 KiB)

@LuLi-1905 I am reviewing it and will share my observation.

0 Votes 0 ·

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered LuLi-9013 commented

Hi @LuLi-1905

Welcome to Microsoft Q&A! Thanks for posting the question.

As you have mentioned that you have installed the OPDG but looks like you have not created the OPDG in azure portal.
Once you install the OPDG you need to create a gateway in Azure for Logic app services.

103213-image.png

Make sure that you have created the gateway in azure. You can refer to logic app gateway install document for more details.
The error is expected if you have not selected any of the gateway while creating the connection.

Hope this help. Feel free to get back to me if you need any assistance.

Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


image.png (27.2 KiB)
· 5
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.

Hello, thanks for your reply.

As per your suggestion i have created the OPDG in azure portal, so i am now able to select the gateway in my VS code. But i still got below error when i tried to create a connection to a network share. Please see the below screenshot.

103117-image.png


0 Votes 0 ·
image.png (58.4 KiB)

@LuLi-9013 Can you confirm if HTTPS mode is enabled on your On-premises data gateway. If not please enable it and reconfigure the connection and see if it helps you.

103252-image.png

0 Votes 0 ·
image.png (20.6 KiB)

Yes, i can confirm https mode is enabled

0 Votes 0 ·
Show more comments