Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Zkp5t3rDpoNqYM2mxs0Oqr
Copilot Studio - Building Copilot Studio Chatbo...
Unanswered

Bug: When copy + pasting values, chatbot doesn't operate properly in Teams chat

Like (0) ShareShare
ReportReport
Posted on 7 Oct 2020 14:28:56 by 389

I have a PVA chatbot in Teams that is connected to a Sharepoint list. The PVA will call a flow to search a field in the Sharepoint list based on an ID number typed into the chat.

When I type in this ID number, it will work fine. However, when I copy+paste in the value it seems to add a line break and then does not work as intended. This is ensuring there are no spaces or line breaks as such in the copy+paste. Examples below:

Work Order ID - Typed in:

 

virakones_1-1602080788993.png


Work Order ID - Copy+Pasted in (Same value)

 

virakones_2-1602080852294.png

 

  • Community Power Platform Member Profile Picture
    on 04 Feb 2021 at 14:03:37
    Re: Bug: When copy + pasting values, chatbot doesn't operate properly in Teams chat

    Hi @virakones i posted a possible? workaround here -

    https://powerusers.microsoft.com/jgvjg48436/board/message?board.id=BuildPVAinTeams&message.id=241#M241

    cheers

  • Community Power Platform Member Profile Picture
    on 02 Feb 2021 at 19:19:17
    Re: Bug: When copy + pasting values, chatbot doesn't operate properly in Teams chat

    This bug still exists and I don't believe this topic should be marked as closed. PVA chatbots are designed to receive plain text user input. The expected behavior is for PVA to strip away any 'behind the scenes' formatting and only pass plain text.

     

    Expecting the customer to manually strip hidden formatting by copy/pasting into a notepad is not an acceptable workaround.

     

    This is a bug and needs to be addressed by Microsoft.

     

    Example:

    I highlight and copy the text 'REQ693205' from a Teams message I sent earlier:

    tim_w_0-1612291757356.png

     

    I then paste this text "REQ693205' into teams and send the message:

    tim_w_2-1612292009734.png

     

    And even though it appears to have no formatting, the user response is saved as '\r\n\n\r\nREQ693205\n\n'

     

    This also gets passed onto Power Automate and in my case breaks the flow as it is expecting "REQ693205"

    tim_w_0-1612293481930.png

     

    This is frustrating for both developers and end-users and is negatively impacting customer satisfaction and adoption.

     

    This is unexpected, undocumented behavior that needs to be acknowledged as a bug so it can be fixed ASAP.

     

    Thank you

  • virakones Profile Picture
    389 on 09 Oct 2020 at 13:03:59
    @Re: Bug: When copy + pasting values, chatbot doesn't operate properly in Teams chat

    @renatoromao 

    Hey thank you!

     

    Yes, it does look like it's Teams own formatting causing the issue when copy+pasting, I figured as much. Thank you again for the reply.

  • CU22081450-0 Profile Picture
    Most Valuable Professional on 09 Oct 2020 at 03:57:16
    Re: Bug: When copy + pasting values, chatbot doesn't operate properly in Teams chat

    Hi @virakones ,

     

    Thanks for posting this issue here!

     

    Basically inside the MS Teams message has a format behind the text and maybe the format can affect this message.

    I recommend you to copy the message and try to post inside the Notepad. Check if when you paste has any break-line or something like that.

    If you don't find any break-line, you can select the code on your Notepad, copy and paste inside the MS Teams chat.

    Check if the issue persists and return back to us, please!

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,089 Most Valuable Professional

Leaderboard

Featured topics

Loading started