Hello Usha Sundersingh Bisht,
Thank you for posting your query here! It seems like you are facing an issue with the built-in connector File System. In order to create a new connection to use the connector triggers/action, the following parameters are needed.
- Connection name: The name of the connection
- Root folder: The root folder for the network share. This should be in the format \<FQDN or IP address of the Machine><folder name>. For example, \test-file-serv.internal.cloudapp.net\Myshare. Note that the root folder cannot have nested folder path like \test-file-serv.internal.cloudapp.net\Myshare\folder1.
- Username: The username for the file share. It can be a simple workstation username, or with a domain name in the format DOMAIN\user.
- Password: The password for the file share.
Once the connection is created, there is config update which happens behind the scenes and hence the logic app would be restarted. You may wait till the app is restarted (less than a minute usually) to save the workflow or add more actions. The ‘Failed to save workflow’ ’error is expected when the workflow is tried to save during the restart.
Further you may want to know that the File System connector uses the App Service BYOS feature to mount the file share to a specific path. So, when a new connection is created, designer updates the config to mount the file share to C:\mounts<connection-id> and the mount path is then written to connections.json.
The Logic Apps runtime only uses this mount path for any of the action/trigger executions.
However please note that a connection created successfully still doesn’t guarantee that the mount was successful. Since the mount path does not exist from the file system through the Kudu console the connection may not work.
Due to networking constraints of the file share/logic apps, the file share might still not be accessible from Logic Apps.
To resolve this issue, you can try the following steps:
- Check if the file path you are trying to access is correct and exists.
- Make sure that the account used to run the Logic App has the required permissions to access the file path.
- Check if the file path is accessible from the network where the Logic App is running.
- If you are using an on-premises data gateway, make sure that it is installed and configured correctly.
Please refer to below articles:
Using File system connector in Logic Apps Standard
Connect to on-premises file systems from workflows in Azure Logic Apps.
Please let us know if further query or issue remains.