Bhubaneswar, Odisha, India
+91-8328865778
support@softchief.com

How to Mask Dataverse Field values in Microsoft Power Platform using Masking Rules

How to Mask Dataverse Field values in Microsoft Power Platform using Masking Rules

Introduction

In modern business applications, protecting sensitive data is no longer optional. Organizations using Microsoft Dataverse often store confidential information such as:

  • Customer phone numbers
  • Email addresses
  • Employee salary details
  • PAN/Aadhaar numbers
  • Bank account information
  • Medical records

While Microsoft Dataverse provides strong security through roles and permissions, there are many situations where users should only see partial information instead of complete values.

Watch the video to learn more or scroll to read the article.

This is where Dataverse Field Masking Rules become extremely valuable.

Field masking allows organizations to hide sensitive data dynamically while still enabling users to work efficiently with records.

In this blog, we’ll explore:

  • What Dataverse field masking is
  • Why it matters
  • How it works
  • Real-world use cases
  • Step-by-step configuration
  • Security considerations
  • Best practices
  • Limitations

What is Dataverse Field Masking?

A Field Masking Rule in Microsoft Dataverse is a feature that partially hides sensitive information from users who do not have permission to view the complete value.

Instead of exposing the original data, Dataverse displays a masked version.

Example

Original ValueMasked Value
9876543210******3210
john.doe@gmail.comjo********@gmail.com
1234-5678-9012-3456************3456

The actual data remains securely stored in Dataverse, but unauthorized users only see the masked representation.


Why Field Masking is Important

Organizations deal with highly sensitive information every day.

Without masking:

  • Confidential information may leak
  • Insider threats increase
  • Compliance risks become higher
  • Data misuse becomes easier
  • Customer trust can be affected

Field masking helps organizations achieve:

  • Better data privacy
  • Stronger governance
  • Safer customer handling
  • Reduced exposure of confidential information
  • Compliance with regulations

Compliance Benefits

Dataverse field masking supports compliance initiatives for:

  • GDPR
  • HIPAA
  • PCI-DSS
  • ISO 27001
  • Internal security policies

By masking sensitive fields, organizations reduce the risk of exposing personal or regulated data.


Real-World Business Scenarios

1. Customer Support Application

Support agents need to identify customers using phone numbers but should not see the entire number.

Visible to Support Agent

******4587

Visible to Manager

9876544587


2. HR Management System

HR executives can view complete salary information, while department managers see masked values.

Manager View

₹******00

HR View

₹125000


3. Healthcare Application

Reception staff can identify patients without viewing full medical identifiers.


4. Banking & Finance

Customer service representatives may only see the last 4 digits of account numbers.


How Dataverse Field Masking Works

Field masking works dynamically at the column level.

Process Flow

  1. Sensitive data is stored normally in Dataverse.
  2. A masking rule is applied to the column.
  3. Users with appropriate permissions see the full value.
  4. Other users see a masked version.
  5. The original data remains unchanged in storage.

This means masking only affects data visibility, not the actual stored value.


Difference Between Field Security and Field Masking

FeatureField SecurityField Masking
PurposeRestrict access completelyPartially hide data
User VisibilityNo accessPartial visibility
Data ExposureHidden entirelyLimited exposure
Typical UsageHighly restricted fieldsSensitive but identifiable fields

Common Fields That Should Be Masked

Field TypeExample
Mobile NumbersCustomer phone
Email IDsPersonal emails
Financial DataAccount numbers
Identity NumbersPAN, Aadhaar
Salary DetailsPayroll information
Medical InformationPatient IDs
Credit Card NumbersPayment details

Step-by-Step: Configure Field Masking in Dataverse

Step 1: Open Power Apps

Navigate to:

https://make.powerapps.com


Step 2: Select the Environment

Choose the environment containing your Dataverse tables.


Step 3: Open Dataverse solution, Table, columns masked rule

Go to:

Dataverse → Solutions -> Select your solution

add a new component Secured masking Rule

Select your table-> column and in advanced property select the rule in column security.


Step 4: Select the Sensitive Column

Open the required column.

Example:

  • Phone Number
  • Email Address
  • Account Number

Step 5: Enable Field Masking

Inside the column settings:

  • Enable masking
  • Choose masking behavior
  • Save changes

Step 6: Configure Security Roles

Decide which users:

  • Can see full values
  • Can only see masked values

This is typically controlled using:

  • Security Roles
  • Column Security Profiles

Example: Phone Number Masking

Original Value

9876543210

Masked Display

******3210

Users can still identify the customer using the last digits while protecting the full number.


Example: Email Address Masking

Original Value

john.doe@gmail.com

Masked Value

jo********@gmail.com

This keeps the domain visible while hiding sensitive details.


Best Practices for Dataverse Field Masking

1. Mask Only Sensitive Fields

Avoid masking fields unnecessarily.

Focus on:

  • Personal data
  • Financial data
  • Confidential business data

2. Use Role-Based Access

Combine masking with proper security roles.


3. Apply Least Privilege Principle

Only authorized users should view complete values.


4. Audit Sensitive Access

Monitor who accesses unmasked information.


5. Test User Scenarios

Always validate:

  • Admin experience
  • End-user visibility
  • Security role behavior

Limitations of Field Masking

While powerful, field masking has some considerations.

1. Not a Replacement for Security

Masking should complement security, not replace it.


2. API Access Considerations

Users with elevated privileges or API access may still retrieve actual values depending on permissions.


3. Business Logic Dependencies

Plugins, Power Automate flows, and integrations may still process original values.


4. Reporting Scenarios

Reports and exports should also be secured properly.


Field Masking vs Encryption

FeatureField MaskingEncryption
PurposeHide display valueProtect stored data
Data StorageOriginal data stored normallyData stored encrypted
User VisibilityPartial visibilityRequires decryption
Main GoalPrivacyData protection

Both features serve different purposes and often work together.


Security Architecture Recommendation

A strong Dataverse security design should include:

  • Security Roles
  • Column Security
  • Field Masking
  • Auditing
  • Environment Security
  • DLP Policies
  • Conditional Access
  • Encryption

Field masking should be part of a broader security strategy.


Advantages of Dataverse Field Masking

Enhanced Privacy

Protects confidential information from unnecessary exposure.

Better User Experience

Users can still identify records without viewing full data.

Compliance Ready

Supports enterprise compliance initiatives.

Reduced Insider Threat

Limits misuse of sensitive information.

Centralized Security

Managed directly within Dataverse.


Conclusion

Dataverse Field Masking is an essential feature for organizations handling sensitive information in Microsoft Power Platform.

It provides a balance between:

  • Security
  • Usability
  • Compliance
  • Operational efficiency

By implementing field masking correctly, organizations can significantly reduce the risk of exposing confidential data while maintaining a seamless user experience.

As businesses continue adopting Power Platform solutions at scale, field masking becomes an important component of enterprise-grade security architecture.