Skip to main content
Community site session details

Community site session details

Session Id : NJCrUjVoWpO/7P22qo+Fv1
Copilot Studio - General
Unanswered

Session limiting/blocking to prevent bot attacks

Like (0) ShareShare
ReportReport
Posted on 2 Nov 2023 12:14:56 by 2

I am currently working on a solution to thwart bots from unnecessarily utilizing the chatbot and, subsequently, consuming PVA sessions. Our approach involves the utilization of the live chat widget script, initially generated through the Customer Centre, which is routed first through Omnichannel and then to PVA. Based on my understanding, when a user engages with a system topic, it results in the consumption of a session. Is there a method to enforce some form of session restriction for the same IP address via PVA or Omnichannel?

 
 
Categories:
  • noelDanas Profile Picture
    2 on 02 Nov 2023 at 14:13:38
    Re: Session limiting/blocking to prevent bot attacks

    Thank you for your reply, Yes i am aware that there is a limit of 800RPm but still sessions are consumed. Regarding the captcha, if the website is inspected and the JavaScript snippet is extracted, it can be embedded in an HTML file, effectively bypassing the captcha.

  • abhi_r Profile Picture
    on 02 Nov 2023 at 14:06:37
    Re: Session limiting/blocking to prevent bot attacks

    hi @noelDanas, PVA has a internal rate limit of 800 RPM, so if the bot is experiencing a DDoS attack, we will throttle the requests and the bot will be unresponsive. One other option is to present the user with a captcha at the beginning of the conversation, to avoid automated bot attacks.

    More info here: https://learn.microsoft.com/en-us/power-virtual-agents/requirements-quotas

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Loading complete