Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Different users sharing the same Microsoft Teams Chat bot code Azure

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I have deployed to org a chat bot, in the code I have declare globally let a = "b"

Then if user type in a special message (i.e, '/signin'), set a = "c".

 

This user 1 uses, at first it is a = "b", then they type in the special message, which now a = "c".

Then user 2 uses the bot, they see a = "c" without typing the special message yet.

 

I suspect the two users on 2 different Teams clients are using the same bot session. How do I prevent that? I don't want to deploy 2 different bots.

Categories:

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

🌸 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…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard