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 / Calling a flow with a ...
Copilot Studio
Unanswered

Calling a flow with a custom connector from inside a teams virtual agent

(0) ShareShare
ReportReport
Posted on by 8

Hi everyone,

 

I'm trying to create a Teams Power Virtual Agent that uses a Power Automate Flow under the hood which in turn should use a custom connector I created. So far I did not succeed...

 

I created the custom connector in Microsoft Flow and tested it with multiple flows, the custom connector itself is working. Then I created a bot in teams and tried to call a flow that I created in Microsoft Flow but its not listed in the "Call an action" menu. I can create new flows using the "Create a new flow" menu item but those do not have access to my custom connector (it is not listed). The documentation on the Teams-specific Flow integration here links to the web-specific site here so I tried putting my connector in a solution but that did not help. Flows created via "Create a new flow" item in Teams cannot access the custom connector and flows created using Microsoft Flow (in my solution) are not visible inside the "Call an action" menu in Teams. I read that Flows you want to call from Power Virtual Agents need specific triggers and returns and created my Flows accordingly, that should not be the issue.

Flows I created in Teams are also not listed in the "Add existing" menu in the Microsoft Flow solutions page, not under "Outside solutions" and neither in "From solutions" like described in the web-specific help.

 

I was unable to find any more specific info on the topic, I'm not sure if its unsupported or if I didn't find the right knob to turn.

 

TL;DR: How can I create a Teams Power Virtual Agent that calls a custom connector in Microsoft flow?

 

I'd be happy about pointers in the right direction!

 

Regards,

Johannes

 

 

EDIT: I figured it out. You'll need to switch to the Environment your bot was created in (right upper corner of Microsoft Flow interface). However, calling custom connectors is sadly a pro feature which is not feasibly to use for us at this time 😕 Too bad.

I have the same question (0)
  • Verified answer
    Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hello @JohannesB 

    Unfortunately since you’re using a custom connector which is a “premium connector” To use this with PVA, you need the full PVA license.

     

    Docs can be found here:

    https://docs.microsoft.com/en-us/power-virtual-agents/requirements-licensing-subscriptions

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hello @JohannesB 

     

    Are you still having this issue? Please provide an update. Thanks!

     

  • JohannesB Profile Picture
    8 on at

    We implemented a work-around using a SharePoint list. Unfortunately, it doesn't make financial sense for us to switch to pro at this time.

  • Sajarac Profile Picture
    3,271 on at

    Hey @JohannesB , I am currently facing the same issues as you. Would you mind to share the work-around implemented? 

    Thanks in advance

  • JohannesB Profile Picture
    8 on at

    Hi @sajarac,

     

    this actually barely qualifies as a work-around and might not be feasible in other use cases but we use the flow from the virtual agent to insert the relevant input data into a Sharepoint list. This triggers another "automated cloud flow that" uses the "When an item is created" trigger which then performs the required action asynchronously. Of course, this comes with some challenges in regards to feedback to the user etc. It works for our specific use case but it is not pretty...

     

    Hope this helps.

  • Sajarac Profile Picture
    3,271 on at

    Thank you very much for your prompt response.!

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 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard