Search code examples
botframework

Can't paste magic code in Teams bot channel


Backround:
We are using .NET SDK Version 3.13.1.0 of the bot framework on azure as azure webapp.

During the authentication process I get magic number which I have to paste in the Teams conversion. The problem is when I'm using "copy paste" I get authentication error.
I came across this Issue where this problem is mentioned as bug but I couldn't find any solution.

Anyone familiar with this issue ?


Solution

  • This is a known bug in the Teams channel here, where magic codes cannot be copy-pasted, possibly due to the aforementioned font issue. Possible work arounds include attempting to copy-'paste as plain text', pasting into a notepad-like program (strips the rich text from the copy), or manually typing it out.