Add-AzureADMScustomSecurityAttributeDefinitionAllowedValues

Adds a predefined value for a custom security attribute definition.

Syntax

Add-AzureADMScustomSecurityAttributeDefinitionAllowedValues
   -CustomSecurityAttributeDefinitionId <String>
   -Id <String>
   -IsActive <Boolean>
   [<CommonParameters>]

Description

Adds a predefined value for a Azure Active Directory (Azure AD) custom security attribute definition.

Examples

Example

Add-AzureADMScustomSecurityAttributeDefinitionAllowedValues -CustomSecurityAttributeDefinitionId Engineering_Project -Id "Alpine" -IsActive $true

Add a predefined value:

  • Attribute set: Engineering
  • Attribute: Project
  • Predefined value: Alpine

Parameters

-CustomSecurityAttributeDefinitionId

The unique identifier for a custom security attribute definition in Azure AD.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Id

The unique identifier of an object in Azure AD.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-IsActive

Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects.

Type:Boolean
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

Object