web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Agent triggered automa...
Copilot Studio
Answered

Agent triggered automatically to perform Flow action (Run-only user) - no way to connect?

(1) ShareShare
ReportReport
Posted on by
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?
I have the same question (0)
  • Suggested answer
    HY-07011011-0 Profile Picture
    on at
    Update: I've done some checking on the documentation and confirmed with Microsoft support as well. For event triggers, the connections can only be using the agent author's credentials.
     
    Hence any Power Automate flows called by the agent as well, should not be set to "Provided by run-only users", but instead using the flow author's credentials.
  • Suggested answer
    Artur Stepniak Profile Picture
    1,539 Super User 2025 Season 2 on at
    Hello,
     
    keep in mind that event triggers feature that you're using is a preview feature. MS states that preview features are incomplete. You can read more about how MS sees preview features here: https://copilottoday.com/what-is-a-preview-feature-in-microsoft-products/. Review the article carefully as there's also a different privacy policy, when you're using preview features - keep that in mind if you have any sensitive data.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
    Interested in GenAI? Visit my site!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 201 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard