Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
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:
  • MemeMomo Profile Picture
    Microsoft Employee on at
    Re: Issue to send a message on Teams via a Power Virtual Agent

    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.

  • sverma Profile Picture
    5 on at
    Re: Issue to send a message on Teams via a Power Virtual Agent

    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

     

  • HenryJammes Profile Picture
    on at
    Re: Issue to send a message on Teams via a Power Virtual Agent

    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.

  • doan-nguyen Profile Picture
    4 on at
    Re: Issue to send a message on Teams via a Power Virtual Agent

    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
    Re: Issue to send a message on Teams via a Power Virtual Agent

    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
    Re: Issue to send a message on Teams via a Power Virtual Agent

    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

  • Pstork1 Profile Picture
    66,452 Most Valuable Professional on at
    Re: Issue to send a message on Teams via a Power Virtual Agent

    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.

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 74

#2
Pablo Roldan Profile Picture

Pablo Roldan 61

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard