Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This scenario describes how to use Dataverse column-level security.
Imagine your company's policy is that sales members should have different levels of access to contact mobile phone numbers, as described here.
User or Team | Access |
---|---|
Sales managers | Read-only. Can only view mobile phone numbers in masked form for contacts. |
Vice presidents | Full. Can create, update, and view mobile phone numbers for contacts. |
Salespersons and all other users | None. Can't create, update, or view mobile phone numbers for contacts. |
Use the following steps to secure this column.
Secure the column
Sign in to Power Apps.
Select Tables.
Select the Contact table.
Under Schema, select Columns.
Scroll down in the Columns list and open Mobile Phone.
Expand Advanced options, and then under General, select Enable column security.
Select the Masking rule dropdown menu, and select a masking rule.
Select Save.
Configure security profiles
From the Power Platform admin center, select the environment to configure security profiles for.
Select Settings > Users + permissions > Column security profiles.
Select New Profile, enter a name, such as Sales Manager, enter a description, and then select Save.
Select Sales Manager, select the Users tab, select + Add Users, select the users that you want to grant access to the mobile phone number on the contact form, and then select Add.
Tip
Instead of adding each user, create one or more teams that include all users that you want to grant access.
Repeat the above steps and create a column security profile for Vice President.
Configure column permissions
Select the Column Security Profiles tab, and then select Sales Manager.
Select the Column Permission tab, select mobilephone, and then select Edit. Set the Read setting to Allowed, leave the others as Not Allowed, and then select Save.
Select the Column Security Profiles tab, and then select Vice President.
Select the Column Permissions tab, select mobilephone, and then select Edit. Set the Read setting to Allowed, the Read unmasked to One record, and the rest as Allowed, and then select Save.
Users not defined in the previously created column security profiles lack access to the mobile phone column on contact forms or views. The column value displays ********, indicating that the column is secured.