Skip to main content

Notifications

Copilot Studio - General
Unanswered

Session limiting/blocking to prevent bot attacks

(0) ShareShare
ReportReport
Posted on 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
    noelDanas 2 on at
    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
    abhi_r on at
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard