A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/entra/fundamentals/custom-security-attributes-overview below:

What are custom security attributes in Microsoft Entra ID? - Microsoft Entra

Custom security attributes in Microsoft Entra ID are business-specific attributes (key-value pairs) that you can define and assign to Microsoft Entra objects. These attributes can be used to store information, categorize objects, or enforce fine-grained access control over specific Azure resources. Custom security attributes can be used with Azure attribute-based access control (ABAC).

Why use custom security attributes?

Here are some scenarios where you could use custom security attributes:

What can I do with custom security attributes?

Custom security attributes include these capabilities:

Custom security attributes aren't supported in the following areas:

Features of custom security attributes

Custom security attributes include these features:

The following example shows several custom security attributes assigned to a user. The custom security attributes are different data types and have values that are single, multiple, free-form, or predefined.

Objects that support custom security attributes

You can add custom security attributes for the following Microsoft Entra objects:

How do custom security attributes compare with extensions?

While both extensions and custom security attributes can be used to extend objects in Microsoft Entra ID and Microsoft 365, they are suitable for fundamentally different custom data scenarios. Here are some ways that custom security attributes compare with extensions:

Capability Extensions Custom security attributes Extend Microsoft Entra ID and Microsoft 365 objects Yes Yes Supported objects Depends on the extension type Users and service principals Restricted access No. Anyone with permissions to read the object can read the extension data. Yes. Read and write access is restricted through a separate set of permissions and role-based access control (RBAC). When to use Store data to be used by an application
Store non-sensitive data Store sensitive data
Use for authorization scenarios License requirements Available in all editions of Microsoft Entra ID Available in all editions of Microsoft Entra ID

For more information about working with extensions, see Add custom data to resources using extensions.

Steps to use custom security attributes
  1. Check permissions

    Check that you are assigned the Attribute Definition Administrator or Attribute Assignment Administrator roles. If necessary, someone with at least the Privileged Role Administrator role can assign these roles.

  2. Add attribute sets

    Add attribute sets to group and manage related custom security attributes. Learn more

  3. Manage attribute sets

    Specify who can read, define, or assign custom security attributes in an attribute set. Learn more

  4. Define attributes

    Add your custom security attributes to your directory. You can specify the date type (Boolean, integer, or string) and whether values are predefined, free-form, single, or multiple. Learn more

  5. Assign attributes

    Assign custom security attributes to Microsoft Entra objects for your business scenarios. Learn more

  6. Use attributes

    Filter users and applications that use custom security attributes. Learn more

    Add conditions that use custom security attributes to Azure role assignments for fine-grained access control. Learn more

Terminology

To better understand custom security attributes, you can refer back to the following list of terms.

Term Definition attribute definition The schema of a custom security attribute or key-value pair. For example, the custom security attribute name, description, data type, and predefined values. attribute set A collection of related custom security attributes. Attribute sets can be delegated to other users for defining and assigning custom security attributes. attribute name A unique name of a custom security attribute within an attribute set. The combination of attribute set and attribute name forms a unique attribute for your tenant. attribute assignment The assignment of a custom security attribute to a Microsoft Entra object, such as users and enterprise applications (service principals). predefined value A value that is allowed for a custom security attribute. Custom security attribute properties

The following table lists the properties you can specify for attribute sets and custom security attributes. Some properties are immutable and cannot be changed later.

Property Required Can be changed later Description Attribute set name ✅ Name of the attribute set. Must be unique within a tenant. Cannot include spaces or special characters. Attribute set description ✅ Description of the attribute set. Maximum number of attributes ✅ Maximum number of custom security attributes that can be defined in an attribute set. Default value is null. If not specified, the administrator can add up to the maximum of 500 active attributes per tenant. Attribute set ✅ A collection of related custom security attributes. Every custom security attribute must be part of an attribute set. Attribute name ✅ Name of the custom security attribute. Must be unique within an attribute set. Cannot include spaces or special characters. Attribute description ✅ Description of the custom security attribute. Data type ✅ Data type for the custom security attribute values. Supported types are Boolean, Integer, and String. Allow multiple values to be assigned ✅ Indicates whether multiple values can be assigned to the custom security attribute. If data type is set to Boolean, cannot be set to Yes. Only allow predefined values to be assigned ✅ Indicates whether only predefined values can be assigned to the custom security attribute. If set to No, free-form values are allowed. Can later be changed from Yes to No, but cannot be changed from No to Yes. If data type is set to Boolean, cannot be set to Yes. Predefined values Predefined values for the custom security attribute of the selected data type. More predefined values can be added later. Values can include spaces, but some special characters are not allowed. Predefined value is active ✅ Specifies whether the predefined value is active or deactivated. If set to false, the predefined value cannot be assigned to any additional supported directory objects. Attribute is active ✅ Specifies whether the custom security attribute is active or deactivated. Limits and constraints

Here are some of the limits and constraints for custom security attributes.

Resource Limit Notes Attribute definitions per tenant 500 Applies only to active attributes in the tenant Attribute sets per tenant 500 Attribute set name length 32 Unicode characters and case sensitive Attribute set description length 128 Unicode characters Attribute name length 32 Unicode characters and case sensitive Attribute description length 128 Unicode characters Predefined values Unicode characters and case sensitive Predefined values per attribute definition 100 Attribute value length 64 Unicode characters Attribute values assigned per object 50 Values can be distributed across single and multivalued attributes.
Example: 5 attributes with 10 values each or 50 attributes with 1 value each Special characters not allowed for:
Attribute set name
Attribute name <space> ` ~ ! @ # $ % ^ & * ( ) _ - + = { [ } ] \| \ : ; " ' < , > . ? / Attribute set name and attribute name cannot start with a number Special characters allowed for attribute values All special characters Special characters allowed for attribute values when used with blob index tags <space> + - . : = _ / If you plan to use attribute values with blob index tags, these are the only special characters allowed for blob index tags. For more information, see Setting blob index tags. Custom security attribute roles

Microsoft Entra ID provides built-in roles to work with custom security attributes. The Attribute Definition Administrator role is the minimum role you need to manage custom security attributes. The Attribute Assignment Administrator role is the minimum role you need to assign custom security attribute values for Microsoft Entra objects like users and applications. You can assign these roles at tenant scope or at attribute set scope.

Important

By default, Global Administrator and other administrator roles do not have permissions to read, define, or assign custom security attributes.

Microsoft Graph API

You can manage custom security attributes programmatically using Microsoft Graph API. For more information, see Overview of custom security attributes using the Microsoft Graph API.

You can use an API client such as Graph Explorer to more easily try the Microsoft Graph API for custom security attributes.

License requirements

Using this feature is free and included in your Azure subscription.

Next steps

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4