
Announcements
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.
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
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.
Hi @VarianWryn ,
As far as I know this is not possible.
PVA trigger is an automatic flow trigger, which means that the connection used by the action must be predefined.
Instant flows can use the connections of the user who triggered the flow because when the user presses the button, the system will check and uses that user's connection.
Best Regards,
Wearsky