Notifications
Announcements
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
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.
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?
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
Then you should consider sanitizing transcripts after they are saved. Transcripts are stored here: Understand conversation transcripts - Microsoft Copilot Studio | Microsoft Learn
@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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 251 Super User 2025 Season 2
Romain The Low-Code... 201 Super User 2025 Season 2
S-Venkadesh 93 Moderator