Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Issue with chatbot message sender

(0) ShareShare
ReportReport
Posted on by 2

I'm using a Power Automate flow that sends a message to a Teams channel through the chatbot. It turns out that all messages sent by other people through the bot arrive in the teams channel always with my username, as I own the bot. How to make the messages arrive in the name of each person who sent them?

  • KayserPinheiro Profile Picture
    2 on at
    Re: Issue with chatbot message sender

    Hi @MarvinBangert,

    I am using a Power Automate flow within a PowerVirtual Manager topic. I use a Microsoft Teams connector for the bot to send the user's request to a private channel. It turns out that when configuring the connector I need to inform the Teams account and not all messages keep arriving in the name of that account, but I would like it to arrive in the name of the person using the bot. I managed to do this through an outlook connector to send email using the UserDisplayName variable, but for sending messages to the Teams channel I haven't found the solution yet.

  • MarvinBangert Profile Picture
    1,917 Most Valuable Professional on at
    Re: Issue with chatbot message sender

    Hi @KayserPinheiro 

    I guess you are using the the Microsoft Teams action to send an adaptive card as a flow bot, correct?

    What trigger does your flow use?

    If you are using an automated flow, the flow runs in the context of the owner of the flow. If you are using an instant flow I will use the credentials of each user.

     

    Does this help you? Otherwise please give me some more information.

    Best regards
    Marvin

    If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

    Blog: Cloudkumpel

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... 76

#2
Pablo Roldan Profile Picture

Pablo Roldan 61

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard