I have successfully built a QnA bot using PVA for Teams. Now I am adding some smarts to it by making call to Power Automate flows. Just simple thing, like send messages to teams channels and perform AAD user lookups. That all works fine. But when I published the PVA topics with the new flows, I notice the flows are suing my user account, not the user account of the user talking to the PVA Team bot. So when a bot topics makes a call to the flow for posting a Teams message it looks like the message is coming from my account. Is this a) expected behaviour and cannot be change, b) best achieved by building the whole PVA Teams bot using a service account, or is there a way to get the flow to use the active user's credentials?

Report
All responses (
Answers (