we are trying to use a workflow with SharePoint Input / Output Files. In essence our workflows read/upload yxdb/csv in a MS Teams site (Sharepoint accessible). The workflow works perfectly in Designer, using the option "Sign in via internet browser".
However when we upload the workflow in the Gallery (it validate correctly) it fails to run providing the error "Failed to authenticate".
We have also a service account with access to the MS Teams files that we use to upload the workflow and also on this account it fails (in this way everybody in the team can use this account with password never expiring) . In brief either if we run the workflow from gallery using our personal or service account it fails anyway!
I wonder if there are any guidance in order to set up the SharePoint Input output files (we are using version 2.1.0) that will work in the server?
Also we have tried to connect the Sharepoint using the option "Provide Client ID secret and Tenant ID", assuming that this will mask any credential input, but again this mechanism redirect to the MS page to "Sign to your account" (similar to the option "Sign in via internet browser"). Do you know if this one is the expected behaviour?
Thanks in advance for any help/guidance doc you may share and help on solving this issue.