Implementing Field Level Security in Dynamics 365
Field-level security in Microsoft Dynamics 365 Customer Engagement (CE) allows you to extend your security model beyond entities, focusing on specific fields within forms. Unlike the standard security role setup, field-level security requires its configuration to grant tailored access to individual fields based on user roles or team assignments.
Dynamics 365 for Sales enables you to add field security profiles for both system and custom fields, following a straightforward two-step process:
Steps for Configuring Field-Level Security
- Enable Field-Level Security for the Field
- Create and Configure Field Security Profiles
These security profiles grant users or teams specific permissions at the field level, including:
- Read – Allows read-only access to field data.
- Read unmasked - The Read column's dataunmasked values.
- Create – Grants permission to add data to the field when creating a new record.
- Update – Permits updates to the field’s data after record creation.
Enabling Field-Level Security for a Field
- In Dynamics 365, navigate to Settings > Advanced Settings.
- Open Solutions and select the relevant solution.
- Choose the field you wish to secure, or create a new one.
- Enable Field-level security for the selected field, then save and close.
- Add the field to the form if it’s not already there, and publish your customizations.
Setting Up a Field Security Profile
To define security settings for the field:
- Ensure you have System Administrator privileges.
- Go to Settings > Security > Field Security Profiles.
- Note that Dynamics 365 includes a default System Administrator Field Security Profile with full permissions (Read, Update, Create) for all secured fields, which cannot be modified.
- Select New to create a custom Field Security Profile, provide a name and optional description, then save.
- Under Field Permissions, you’ll see all fields with field-level security enabled, each defaulting to "No" permissions.
- Choose the field, click Edit, and set the appropriate permissions (e.g., Read only for the "Actual Name" field).
Adding Users and Teams to Field Security Profiles
- In the Field Security Profile, navigate to Members and select either Teams or Users.
- Click Add and use the Look Up Records dialog to select the desired users or teams.
- Confirm your choices by clicking Add.
Each field with field-level security is initially added to all profiles with Read, Create, and Update permissions set to "No" by default. Only users or teams with assigned permissions will see field data, while others will view placeholder symbols (“*****â€) instead of the actual data. This approach ensures data privacy and allows custom, flexible access settings for each field.
- Sachin Sen
