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 / Issue to send a messag...
Copilot Studio
Unanswered

Issue to send a message on Teams via a Power Virtual Agent

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

I have created a Power Automate flow that sends a message on Microsoft Teams through my Power Virtual Agent whenever a new item is created in a SharePoint list. Here's a screenshot of my flow:

doannguyen_0-1691626239495.png

The bot is appears correctly in the 'Bot' field:

doannguyen_1-1691626353690.png

 

When I run the flow, I have an error message: "{"id":"","messageLink":"","error":"Bot has not been published RequestId : [id]"

It says that the Bot has not been published even though I have indeed published it (check the screenshot below).

 

doannguyen_3-1691626723854.png

 

I have also connected the Bot in Microsoft Teams via the Channel:

doannguyen_4-1691627072356.png

 

Can someone help me please?

Sorry for the "French screenshots"... 😅, if you need more information please do not hesitate

 

Thank you in advance for your help.

 

Regards,

Doan

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    The action to send a message as a Bot only works for a flow that is triggered from a bot. Since this flow is triggered by a SharePoint list the bot is not part of the context of the flow.  You can send a message to a channel or a person from the flow, but not to a Bot because the Bot hasn't started when the flow runs.

  • doan-nguyen Profile Picture
    4 on at

    Hello Pstork1,

    Thank you for your reply.

    I'm sorry, but I'm a bit confused by your response. You mentioned that it's possible to send a message to a channel or a person from the flow, but not to a bot?

    Actually, what I'm aiming for is this: I have "Breaking news info" stored in a SharePoint list. When I add a new "Breaking news info" in this SharePoint list, I would like the bot to send a message on Teams to everyone in my organization with the details of the Breaking news.

     

    Thank you in advance for your help.

    Doan

  • HenryJammes Profile Picture
    on at

    Hi @doan-nguyen 

     

    This is a known and documented behavior: Notify bot users in Teams with proactive messages - Power Virtual Agents | Microsoft Learn

     

    Bots created or converted with the unified authoring canvas can't send proactive messages in Teams.
    Your bot can only send proactive messages if:

    You create your bot in the Teams app.

    You create a Classic bot.

    You created your bot before May 23, 2023.

     

    This is something the PVA team is looking to address, but we don't have a target date to share yet.

     

    Henry

     

  • doan-nguyen Profile Picture
    4 on at

    Hello @HenryJammes,

     

    Thank you for your reply.

     

    Regarding your message below:




    Your bot can only send proactive messages if:

    You create your bot in the Teams app.

    You create a Classic bot.

    You created your bot before May 23, 2023.

     


    Just to be clear, if I create my bot (whether it's created from the Teams app or created as a classic bot), the bot won't be able to send proactive messages in any case because it was created after May 23, 2023, right?

     

    Regards,

    Doan

  • HenryJammes Profile Picture
    on at

    That's a good question, I would recommend to test, but I believe even classic bots created after May 23, 2023 would have that issue.

  • sverma Profile Picture
    5 on at

    Even I am also facing the same issue. Not sure if this has been resolved or there is work around it. Is there way to convert BOT created using Unified Canvas to Classic if that solves the problem. The Flow works fine I use the Classic bot Puiblished couple of months back.

     

    sverma_0-1691769998030.png

     

  • MemeMomo Profile Picture
    Microsoft Employee on at

    I created a bot in Teams today and it was able to send proactive messages. But the bot created in the web met the same problem like yours. I am finding a solution too.

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

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard