A cloud-based identity and access management service for securing user authentication and resource access
Hi BWill77. Please refer to the primary documentation titled "What are custom security attributes in Microsoft Entra ID?".
"You can use custom security attributes to define dynamic membership rules for security groups or Microsoft 365 groups. For example, you can create a group that includes all users who have a specific custom security attribute value."
Source Link: Custom security attributes overview - Microsoft Learn
Since custom security attributes are categorized into "Attribute Sets," you must use a specific syntax in the Rule Editor (as they do not always appear in the simple dropdown builder). The format is:
user.customSecurityAttributes.<AttributeSet>.<AttributeName> -eq "<Value>"
Example: If you have an attribute set called HumanResources with an attribute named Clearance, the rule would look like this: user.customSecurityAttributes.HumanResources.Clearance -eq "Secret"
Essential Requirements
To successfully implement this, Microsoft Learn specifies the following prerequisites:
- Licensing: You must have a Microsoft Entra ID P1 or P2 license.
- Permissions: Even Global Administrators cannot manage these by default. You must be assigned the Attribute Definition Administrator or Attribute Assignment Administrator role to create or assign these attributes.
- Object Type: Currently, these attributes can be assigned to Users and Enterprise Applications, allowing you to create dynamic user groups based on these values.
Entra ID Custom Security Attributes Overview This video provides a visual demonstration of how to create and assign these attributes within the Entra ID portal.