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 / Sending Proactive Mess...
Copilot Studio
Answered

Sending Proactive Messages from bot using Power Virtual Agents Preview

(0) ShareShare
ReportReport
Posted on by 246

Hello,

 

I'm exploring to send pro active message to user in teams using Power Virtual Agent bot. Here is the flow i have created but every time I run the flow the message sending action failed with 502 Bad Gateway. The chatbot published and added to my teams as personal app and it's not published in organization level.

 

ManikandanS_0-1686034650070.png

ManikandanS_1-1686034716420.png

 

Can you please suggest on how we can fix this issue?

 

Thanks.

I have the same question (0)
  • HenryJammes Profile Picture
    on at

    Hi @ManikandanS,

     

    This looks similar to Power Virtual Agents Post to Teams Error: To use t... - Power Platform Community (microsoft.com). I'm not sure this works with the latest version of PVA yet.

     

    Henry

  • ManikandanS Profile Picture
    246 on at

    Hello @HenryJammes ,

     

    Thanks for your update.

    From the error message issue looks to be similar.

    Looking to collect some more additional logs.

     

  • ManikandanS Profile Picture
    246 on at

    Here is the more detailed error message.

    {
      "code": "BadRequest",
      "message": "The request failed. Error code: 'MissingOrInvalidBotMessageRequest'. Error Message: 'The specified Teams flowbot message request is missing or invalid.'."
    }
  • jmolmo Profile Picture
    12 on at

    Hello,
    I have the same problem with a PVA bot.
    For what it's worth, I tried a classic PVA bot and it worked correctly for me. To confirm it, I later converted that same bot to the current version and it failed.
    It returned the error:

    {
      "error": {
        "code": 502,
        "source": "flow-apim-europe-001-northeurope-01.azure-apim.net",
        "clientRequestId": "25c76a4c-633b-40be-b03b-990c8390b6fa",
        "message": "BadGateway",
        "innerError": {
          "id": "",
          "messageLink": "",
          "error": "Para usar este bot, publíquelo en Power Virtual Agents. Código de error: 2009. Id. de conversación: . Hora (UTC): 14/06/2023 8:40:24. RequestId : 25c76a4c-633b-40be-b03b-990c8390b6fa"
        }
      }
    }
     
    But the bot is published and working if I access it directly
  • ManikandanS Profile Picture
    246 on at

    @jmolmo  - Now when i create new bot , there is no option to choose preview or General public release. So all the bot created is not showing classic type now. Have you managed to find option to create classic bot?

    @HenryJammes  - Can we get some updates from your end on this issue?

  • HenryJammes Profile Picture
    on at

    @ManikandanS you can still create classic bots by selecting this option in the PVA user interface:

     

    HenryJammes_0-1686827187149.png

     

    I don't have an update on this issue (cc @micchow).

     

    Have you also raised this through the official support channel? 

    If not, can you do it? Get Help + Support in Power Platform - Power Platform | Microsoft Learn

  • jmolmo Profile Picture
    12 on at

    Thanks, the bot was already classic, a previous test that we had not yet updated.

  • jmolmo Profile Picture
    12 on at

    Thank you very much for the information.

    No, I had not yet reported it through the official channel. I will now.

    Thank you so much

  • ManikandanS Profile Picture
    246 on at

    @HenryJammes Created support ticket through official channel, support replied that since sending proactive message is a preview feature they can't get help from product team. It would be really helpful if we get any update on this.

  • Verified answer
    ManikandanS Profile Picture
    246 on at

    The recent PVA documentation from Microsoft confirmed that unified bot doesn't support this feature.

     

    ManikandanS_0-1698040008575.png

     

    So, it is clear now.

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

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard