web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Block PII/PCI in Copil...
Copilot Studio
Suggested Answer

Block PII/PCI in Copilot Studio agent user prompt

(0) ShareShare
ReportReport
Posted on by 48
Hi All,
 
We are using classic orchestration to build the Copilot Studio agent. Our requirement is to block PII/PCI in Copilot Studio agent user prompt.
In case if user enters SSN , Credit Card details in the user prompt Copilot Studio agent need to block it and it should not process further.
 
We have tried this by creating an entity using regular expression. Please confirm in classic orchestration is there a way to setup entities instead of phrases in the trigger node.
 
So in case if Copilot studio agent identifies any PII/PCI data in user prompt matching the entities Copilot studio agent need to block the PII/PCI in Copilot Studio agent user
prompt. Appreciate if any one can provide the work around or solution for this.
 
Regards.
Avinash.
I have the same question (1)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,930 Moderator on at
     
    There are a few options but I dont know what you have tried. Leveraging Azure AI Content safety is sort of like having entities + labels etc but its pre-built you don't have to do anything.
     
    That and regular expressions should work (don't even need entities with it but thats a nice to have), however I'd have to see your power FX to validate its correct.
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • Michael E. Gernaey Profile Picture
    53,930 Moderator on at
     
    Did you ever validate what I suggested or did you still have questions as I did not see a response to my questions.
     
    Cheers

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 325

#2
chiaraalina Profile Picture

chiaraalina 105 Super User 2026 Season 1

#3
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 102 Super User 2026 Season 1

Last 30 days Overall leaderboard