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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / [URGENT] Filter out se...
Copilot Studio
Unanswered

[URGENT] Filter out sensitive information from user Query.

(0) ShareShare
ReportReport
Posted on by 34

I am a beginner here. I want to filter out the sensitive data(like PII, or Credit Card number or SSN) and replace it with these texts "Credit Card", "Personal Identification Information") from user query every time if it is present before sending it for knowledge base search. How can I implement it in copilot studio. @Pstork1 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    I'm not sure there is a way to do that.  The closest I think you could get would be to implement specific REGEX filters on the variable that contains the query before it is used. But I'm not aware of any built-in functionality to intercept PII.

  • adilei Profile Picture
    on at

    Even if you filter PII out before sending it to Gen Answers, it is still stored in the conversation transcript. Are you okay with that?

  • minakshimathpal Profile Picture
    34 on at

    No! It should not be available in the transcript as well. Our old platform is using it for mapping to the required article/intent but when we export the interactions it would have *********** in that place. @adilei 

  • adilei Profile Picture
    on at

    Then you should consider sanitizing transcripts after they are saved. Transcripts are stored here: Understand conversation transcripts - Microsoft Copilot Studio | Microsoft Learn

  • minakshimathpal Profile Picture
    34 on at

    @adilei Thank you for replying. How can I scrub the sensitive data before it goes to GenAI. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 201 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard