Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Mask all but the last four of social security number?

(2) ShareShare
ReportReport
Posted on by 57

I'm looking for a way to mask all but four of the social security number field in dynamics365 crm. 

  • Laurel Jimenez Profile Picture
    Laurel Jimenez 5 on at
    RE: Mask all but the last four of social security number?

    Is this the solution for D365 F&O as well.  The link provided in another response appeared to be for D365 CE.

  • Suggested answer
    Moximox Profile Picture
    Moximox 2 on at
    RE: Mask all but the last four of social security number?

    Hi

    Sorry if I was vague. Here is a link how to use my recommendation. 

    https://docs.microsoft.com/en-us/power-platform/admin/field-level-security

    if you disallow read for a field for all users except those who has the security profile means that they won’t see the field data. It won’t be masked by asterisk but it will be masked by emptiness. 

  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 10,203 Super User 2025 Season 1 on at
    RE: Mask all but the last four of social security number?

    Hello,

    The best option will be to use field security because you can control whom it will be visible. Also don't use JavaScript on the form for masking because user can still able to see the data from Advanced find.

    Thank you,

    Amit Katariya

  • Suggested answer
    Gagandeep Singh Profile Picture
    Gagandeep Singh 587 on at
    RE: Mask all but the last four of social security number?

    Hi Emilu,

    Not directly possible. You can refer to this article ledgeviewpartners.com/.../ on how to setup the field security profile in CRM but what this does is masks all the characters on the field. What you could additionally do is to write a script to copy the last 4 digits of SSN into another field and keep that visible and mask the actual SSN field.

    That's the work around that I can suggest. Hope it helps!

  • emilu Profile Picture
    emilu 57 on at
    RE: Mask all but the last four of social security number?

     Can you be more specific and include instructions?

  • Moximox Profile Picture
    Moximox 2 on at
    RE: Mask all but the last four of social security number?

    Add a security field profile for this column and the field is not able to be read. 

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans