Home

microsoft-teams-sample-auth-node sample

%3CLINGO-SUB%20id%3D%22lingo-sub-841995%22%20slang%3D%22en-US%22%3Emicrosoft-teams-sample-auth-node%20sample%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-841995%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20Has%20anybody%20successfully%20able%20to%20run%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-sample-auth-node%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Emicrosoft-teams-sample-auth-node%3C%2FA%3Esample%20locally%3F%20I'm%20facing%20a%20weird%20issue.%20I%20have%20followed%20the%20setup%20steps%20and%20can%20interact%20with%20the%20bot%20via%20both%20WebChat%20as%20well%20as%20Emulator.%20But%20it%20doesn't%20seem%20to%20work%20via%20a%20Teams%20Channel.%20Sending%20the%20message%20directly%20by%20id%20or%20launching%20Teams%20Channel%20via%20Bot%20Dashboard%20as%20per%20steps%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fconcepts%2Fbots%2Fbots-test%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%26nbsp%3Bdoesn't%20seem%20to%20work.%20While%20the%20chat%20is%20launched%20with%20the%20Bot%20alright%2C%20as%20soon%20as%20first%20message%20is%20sent%2C%20conversation%20with%20the%20bot%20changes%20to%20%22just%20me%22%20as%20per%20below%20screenshot%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F130563i7724DED04DC99C3B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20the%20message%20does%20not%20reach%20the%20bot.%26nbsp%3B%20What%20might%20cause%20this%20to%20happen%20and%20what%20should%20be%20done%20to%20get%20it%20resolved%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20and%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-841995%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-847058%22%20slang%3D%22en-US%22%3ERe%3A%20microsoft-teams-sample-auth-node%20sample%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-847058%22%20slang%3D%22en-US%22%3E%3CP%3EFollowing%20up%20on%20this.%20Any%20ideas%20regarding%20this%20weird%20behavior%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20and%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-850064%22%20slang%3D%22en-US%22%3ERe%3A%20microsoft-teams-sample-auth-node%20sample%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-850064%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F386475%22%20target%3D%22_blank%22%3E%40NKM122205%3C%2FA%3E%26nbsp%3BHi%20-%20Are%20you%20uploading%20your%20bot%20as%20an%20app%20using%20an%20the%20app%20package%20included%20in%20the%20sample%3F%20Authentication%20won't%20work%20if%20you're%20talking%20to%20the%20bot%20directly%20by%20GUID.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-853168%22%20slang%3D%22en-US%22%3ERe%3A%20microsoft-teams-sample-auth-node%20sample%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-853168%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F267929%22%20target%3D%22_blank%22%3E%40andrewclear%3C%2FA%3E%26nbsp%3BThank%20you.%20That%20was%20it!%20BTW%20is%20there%20documentation%20on%20the%20bot%20functions%20such%20as%20OnSignInStateVerification%20and%20others%20that%20have%20been%20overridden%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
NKM122205
Occasional Contributor

Hi,

 

  Has anybody successfully able to run the microsoft-teams-sample-auth-node sample locally? I'm facing a weird issue. I have followed the setup steps and can interact with the bot via both WebChat as well as Emulator. But it doesn't seem to work via a Teams Channel. Sending the message directly by id or launching Teams Channel via Bot Dashboard as per steps here doesn't seem to work. While the chat is launched with the Bot alright, as soon as first message is sent, conversation with the bot changes to "just me" as per below screenshot:

 

clipboard_image_0.png

 

And the message does not reach the bot.  What might cause this to happen and what should be done to get it resolved?

 

Thanks in advance and regards

3 Replies
Highlighted

Following up on this. Any ideas regarding this weird behavior?

 

Thanks in advance and regards

@NKM122205 Hi - Are you uploading your bot as an app using an the app package included in the sample? Authentication won't work if you're talking to the bot directly by GUID.

@andrewclear Thank you. That was it! BTW is there documentation on the bot functions such as OnSignInStateVerification and others that have been overridden? 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
48 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies