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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Copilot Bot - Power Au...
Copilot Studio
Unanswered

Copilot Bot - Power Automate Flow as an Action - User Connections

(0) ShareShare
ReportReport
Posted on by 4

Hi I am building a Copilot bot but was wondering if it's possible to have the user that initiates the bot be used as the user that establishes the connection in a power automate flow that is called as an action in the bot's Topics.

 

What is happening right now is that regardless of what user initiates a bot conversation, the flows that are called in the bot under the topics all get processed under a specific user that created the flows and established those connections.

 

Is there any way to go around this?

Categories:
  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    How are you calling the flow from the bot? Normally that action uses a manual trigger which would then use the users connection. Which connectors in the flow are using the makers connection? Can you provide more specifics?

     

    Another option is presented in this article. https://poszytek.eu/en/microsoft-en/office-365-en/pva-en/pva-series-user-context-in-power-virtual-agent/ 

  • VarianWryn Profile Picture
    4 on at

    I am calling the flow as a Call an Action node on the bot in the Topic.

     

    The flow is fairly simple:

    1. When PVA calls a flow

    2. Get a record (Dynamics Finance and Operations Connector) - This looks for specific data in the system and returns the values back to the chat conversation. This is the part that is using the connection that was set-up when creating the flow and this is where if possible I would like to have the flow run using the user that initiated the conversation with the bot.

    3. Return values to PVA

     

    2024-04-24_11-04-19.png
  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    That may be a side effect of the Dynamics F&O connector. What Authentication mechanism is the Bot set to use and where are you deploying it? Website, Teams, etc.

  • VarianWryn Profile Picture
    4 on at

    I appreciate your responses! I am using Authenticate with Microsoft: Entra ID authentication in Teams and Power Apps.

     

    And for right now it is deployed via Teams as an app.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
Mohsin Ali Profile Picture

Mohsin Ali 348

#2
Valantis Profile Picture

Valantis 228 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 172 Super User 2026 Season 2

Last 30 days Overall leaderboard