Security Model of Dynamics CRM

Business Unit
  •  It is a way to group business activities.
  • When an organization is created, a Root Business Unit is created by default. This Root BU cannot be deleted.
  • Each Business Unit automatically gets a default team, and the team’s name is the same as the Business Unit’s name.
  • Every Business Unit has a parent BU. By default, new BUs have the Root BU as their parent, but you can also create a custom BU and set it as the parent.
  • Every User is linked to only one BU.






Team – Group of Users

  • Teams provide access to records through assigned security roles.
  • Security roles assigned to a team are inherited by all its members.
Types of Teams:
  1. Owner Team
  2. Security Group Team
  3. Access Team
Owner Team → Own records + roles
Security Group Team → Same as Owner, but managed via Azure AD
Access Team → No ownership, only shared access

 


Security Roles 
  • Define the access levels and privileges that control what a user can view and perform in the system. They can be assigned directly to users or inherited through team membership.
  • Privileges include: Create, Read, Write, Append, Append To, Share, Assign, and Delete.
  • Access Levels determine the scope of those privileges: None, User, Business Unit (BU), Parent–Child BU, and Organization.
  • Additionally, security roles include miscellaneous permissions such as Export to Excel, Run Workflow, and Run Flow.



Entity Ownership – When creating an entity, ownership can be set as User/Team or Organization

Aspect User/Team Owned Organization Owned
Ownership Record can be owned by a user or a team Record is owned by the organization
Key Fields owninguser, owningteam organizationid
Access Levels Supports all: None, User, BU, Parent-Child BU, Organization Supports only: None, Organization
Security Granular control with record-level access & sharing Broad access, visible across organization
Use Cases When record-level ownership & sharing is required When records should be accessible org-wide


Column-Level Security (Field Security Profile) – 
  • Used to control access to specific fields (columns) in a table (entity).
  • Field security must first be enabled in the column’s properties.
  • Access Types available: Create, Read, Update, or Not Assigned.
  • Field Security Profiles can be assigned to users or teams to manage access.


Access Team – A group of users granted access to a record without owning it.
  • Privileges are assigned directly to the team.
  • Once an Access Team is created, it can be added to a form, allowing users to share the record by adding other users to the team.
  • This process can also be performed programmatically.

Comments

Popular posts from this blog

Accessing Fields on QuickView Form through javaScript

Custom Subgrid Using HTML Web resource

Power Apps Portal - Authentication, Authorization