Hello everyone,
I have an agent I'm currently developing/experimenting with, which would be triggered upon file creation/modification in SharePoint:
It is able to be triggered successfully.
The agent then follows the instructions given; the next step would be for the agent to run an action (Power Automate flow), which it does attempt to do.
The agent gets stuck "In progress" here, because it sends a card to ask the user to review the missing connections and connect (as shown in the transcript below).
Since the agent was triggered automatically, I presume this card does not actually get sent to the user in any channel (nor did I receive the below message in any channel).
Hence, I think there is no way to actually "Connect".
Prior to this, I have tried to trigger the agent manually by starting a chat and sending it a message, and then setting up the connections via the card (which works fine). My hope was that the connections set up this way would persist in the automated run later on, however this does not seem to be the case.
Changing the flow(s) itself to "Use this connection" (i.e. my connection) would work properly, and no longer ask the user for the additional permissions/connection.
However for the use case/demo I am working on, ideally the connections to various flows (including an attended desktop flow) would be provided by each different user themselves, instead of using my connection.
Is there something I'm missing, or is this a product limitation/bug? Do you guys know of a best practice or workaround for a use case like this?