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 / Power Virtual Agents P...
Copilot Studio
Unanswered

Power Virtual Agents Post to Teams Error: To use this bot, publish it in Power Virtual Agents

(0) ShareShare
ReportReport
Posted on by 2

All,

 

I have been struggling with this error for 2 days now. A developer had created and set up a PVA ChatBot to post to Teams but would always receive the error below, even though the chat bot is published. He wouldn't have been able to add the chatbot to the PA Flow when developing the Flow if it wasn't published so this error doesn't make sense to me.

 

As a global admin, I tried to recreate his error with my personal power platform environment. I created a new chatbot, published it and connected it to teams, created a new flow in PA, and tested Teams posting with both Post as "User" and "Flow" and they work perfectly fine. However, when i switch to Post as PVA (Preview), I receive the same error as the developer. I have deleted and recreated the chatbot and flow twice.

(I removed the IDs)

{
  "error": {
    "code"502,
    "source""flow-apim-unitedstates-002-eastus-01.azure-apim.net",
    "clientRequestId""",
    "message""BadGateway",
    "innerError": {
      "id""",
      "messageLink""",
      "error""To use this bot, publish it in Power Virtual Agents. Error code: 2009. Conversation ID: . Time (UTC): 6/1/2023 2:14:19 PM. RequestId : "
    }
Forum and Google searching has gotten me nowhere on this issue.
Does anyone have any idea to fix this error? I would really appreciate it.
Categories:
I have the same question (0)
  • HenryJammes Profile Picture
    Microsoft Employee on at

    Hi @cbond,

     

    Do you have screenshots to share about the exact connector you're using in Power Automate?

    Have you followed this documentation?

    Notify bot users in Teams with proactive messages - Power Virtual Agents | Microsoft Learn

     

    Henry

  • cbond Profile Picture
    2 on at

    Hi HenryJammes,

    Thanks for the quick reply. 

    I actually did follow the directions from the same link you added but skipped the Active Card part.

     

    As far as the connector, I can share it with you but am unsure of what exactly you are asking for. When looking at the connectors in make.powerautomate.com, there's a big list of them including Teams. Should i be looking somewhere else?

     

  • HenryJammes Profile Picture
    Microsoft Employee on at

    I can repro - let me check internally and keep you posted.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I'm also getting this currently. Any updates? I believe the bot is published correctly as I'm able to select it in the PA designer for the "Post message in chat or channel" action.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Any updates on this issue? Cause I'm having the same issue

  • mulin Profile Picture
    3 on at

    Hello!

    I am facing the same issue, I have tried to contact support regarding this case with no luck.

    PVA bot is available in MS Teams organisation app store and was published several times 😄

     

    Do you have any time estimates on this issue?

  • levifranzen Profile Picture
    2 on at

    Same here, tried with developer account and the problem occurs too.

  • FaizanShaikh Profile Picture
    2 on at

    Hello, Henry James
    Any news on this matter? This is still open as far as I can see, and I'm having the same problem attempting to incorporate it right now.
    Appreciate your help here! 
    Regards.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 177

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 130 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 45 Super User 2026 Season 1

Last 30 days Overall leaderboard