is partial masking allowed in Extract PII language service?

Sharma, Vasundhra 1 Reputation point
2022-09-09T11:44:16.627+00:00

This extract PII service allows complete masking but i want partial making something like below

Example : 'My phone number is 9876543210' is getting masked to 'My phone number is 9876******''

Is it possible?

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
937 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 19,746 Reputation points Microsoft Employee
    2022-09-13T04:51:38.04+00:00

    @Sharma, Vasundhra Thanks for your patience on this. I have checked with product team and below is the feedback shared from them.

    Yes, the PII skill will only let you either return the PII found entities with no mask or mask the full length of the entity.

    For partial masking some extra processing need to be performed. You can take the unmasked output of the PII skill and feed them into a custom skill and use a function as [explained here] (https://learn.microsoft.com/en-us/azure/search/cognitive-search-custom-skill-interface).

    Feel free to reach back to me if you have any further questions on this.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.