Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Post a message in MS Teams as Power Virtual Agents

(1) ShareShare
ReportReport
Posted on by 23

I'm trying to post a message in teams as a bot with Power Automate, but my published bot (with Power Virtual Agents) does not appear at the dynamic content:

 

gaa_ges_0-1664963576363.png

 

I tried to paste the link of the chatbot and didn't work too:

gaa_ges_1-1664963657282.png

 

Which value should I input at the action in order to invoke the chatbot at MS Teams?

 

Kind regards, 

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Post a message in MS Teams as Power Virtual Agents

    Hi! Have you found out how to solve this problem?

  • gaa_ges Profile Picture
    23 on at
    Re: Post a message in MS Teams as Power Virtual Agents

    Hello @AK15,

     

    I was not able to do it, because I'm using a trial license so I can't open a support ticket.

     

    Regards, 

  • AK15 Profile Picture
    5 on at
    Re: Post a message in MS Teams as Power Virtual Agents

    Hi gaa_ges,

     

    Please could you tell me how did you manage to finaly get your bot appeared in the dynamic content ? 

     

    Thanks a lot,

    Best 

  • v-xiaochen-msft Profile Picture
    on at
    Re: Post a message in MS Teams as Power Virtual Agents

    Hi @gaa_ges

    Sorry I cannot reproduce this error.

    Please consider open a support ticket for professional assistance.

    https://docs.microsoft.com/en-gb/power-platform/admin/get-help-support

     

    Best Regards,

    Wearsky

  • gaa_ges Profile Picture
    23 on at
    Re: Post a message in MS Teams as Power Virtual Agents

    Hello @v-xiaochen-msft 

     

    Finally I got the PVA license so I can do this test. In this case, I'm able to select the chatbot:

    gaa_ges_0-1666702117771.png

     

    But in this case, the error is coming in run time:

    gaa_ges_1-1666702234183.png

    {"id":"","messageLink":"","error":"Error converting value \"\" to type 'Microsoft.CCI.OnlineEngine.VirtualAgent.ServiceContracts.Models.ProactiveActiveChatCondition'. Path 'activeChat'. RequestId : 1c148006-b9ea-4947-8614-3b5263c74774"}

     

    Do you know which is the error in this moment?

     

  • v-xiaochen-msft Profile Picture
    on at
    Re: Post a message in MS Teams as Power Virtual Agents

    Hi @gaa_ges ,

     

    At my knlowledge,  you should create a bot on pva website instead of creating it in teams PVA app. They're a little different.

    https://web.powerva.microsoft.com/

    https://learn.microsoft.com/en-us/power-virtual-agents/publication-add-bot-to-microsoft-teams

    This document shows how to create a bot and how to install it.

     

    Best Regards,

    Wearasky

  • gaa_ges Profile Picture
    23 on at
    Re: Post a message in MS Teams as Power Virtual Agents

    @v-xiaochen-msft and pva is installed, the bot published, and nothing is appearing at the dynamic content.

     

    gaa_ges_0-1665645820308.png

     

    It may be not working just because is a preview? Because I need to choose the bot if I want to use it, I didn't find the issue when running but when building the flow.

  • v-xiaochen-msft Profile Picture
    on at
    Re: Post a message in MS Teams as Power Virtual Agents

    Hi @gaa_ges ,

     

    Team members must install the pva app first if you want to use this pva chat with them.

     

    Best Regards,

    Wearsky

  • gaa_ges Profile Picture
    23 on at
    Re: Post a message in MS Teams as Power Virtual Agents

    Hi @v-xiaochen-msft 

     

    I was using Power Virtual Agents from Teams, and that action was the one failing, the other actions with Teams connector are working fine.

  • v-xiaochen-msft Profile Picture
    on at
    Re: Post a message in MS Teams as Power Virtual Agents

    Hi @gaa_ges ,

     

    Please add it into your teams app and don't forget to install it for yourself.

    vxiaochenmsft_0-1665109499830.png

    https://learn.microsoft.com/en-us/power-virtual-agents/publication-add-bot-to-microsoft-teams

     

    Best Regards,

    Wearsky

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics